Skip to content

Commit

Permalink
[FLINK-14957][yarn] Remove deprecated -yst option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayi Liao authored and zentol committed Nov 29, 2019
1 parent 3044753 commit 070a9d9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion docs/ops/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ Action "run" compiles and runs a program.
(memory, cores)
-yqu,--yarnqueue <arg> Specify YARN queue.
-ys,--yarnslots <arg> Number of slots per TaskManager
-yst,--yarnstreaming Start Flink in streaming mode
-yt,--yarnship <arg> Ship files in the specified directory
(t for transfer), multiple options are
supported.
Expand Down
1 change: 0 additions & 1 deletion docs/ops/cli.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ Action "run" compiles and runs a program.
(memory, cores)
-yqu,--yarnqueue <arg> Specify YARN queue.
-ys,--yarnslots <arg> Number of slots per TaskManager
-yst,--yarnstreaming Start Flink in streaming mode
-yt,--yarnship <arg> Ship files in the specified directory
(t for transfer), multiple options are
supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,6 @@ public class FlinkYarnSessionCli extends AbstractCustomCommandLine {
private final Option zookeeperNamespace;
private final Option nodeLabel;
private final Option help;

/**
* @deprecated Streaming mode has been deprecated without replacement.
*/
@Deprecated
private final Option streaming;
private final Option name;
private final Option applicationType;

Expand Down Expand Up @@ -208,7 +202,6 @@ public FlinkYarnSessionCli(
.valueSeparator()
.desc("use value for given property")
.build();
streaming = new Option(shortPrefix + "st", longPrefix + "streaming", false, "Start Flink in streaming mode");
name = new Option(shortPrefix + "nm", longPrefix + "name", true, "Set a custom name for the application on YARN");
applicationType = new Option(shortPrefix + "at", longPrefix + "applicationType", true, "Set a custom application type for the application on YARN");
zookeeperNamespace = new Option(shortPrefix + "z", longPrefix + "zookeeperNamespace", true, "Namespace to create the Zookeeper sub-paths for high availability mode");
Expand All @@ -227,7 +220,6 @@ public FlinkYarnSessionCli(
allOptions.addOption(DETACHED_OPTION);
allOptions.addOption(SHUTDOWN_IF_ATTACHED_OPTION);
allOptions.addOption(YARN_DETACHED_OPTION);
allOptions.addOption(streaming);
allOptions.addOption(name);
allOptions.addOption(applicationId);
allOptions.addOption(applicationType);
Expand Down

0 comments on commit 070a9d9

Please sign in to comment.