Skip to content

Commit

Permalink
[hotfix] [docs] add missing YARN options in CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
knaufk authored and kl0u committed Jul 11, 2019
1 parent 116c10b commit 3fff3fb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/ops/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ Action "run" compiles and runs a program.
shutdown when the CLI is terminated
abruptly, e.g., in response to a user
interrupt, such as typing Ctrl + C.
-yat,--yarnapplicationType <arg> Set a custom application type for the
application on YARN
-yD <property=value> use value for given property
-yd,--yarndetached If present, runs the job in detached
mode (deprecated; use non-YARN
Expand Down Expand Up @@ -430,6 +432,15 @@ Action "stop" stops a running program with a savepoint (streaming jobs only).
directory is specified, the configured
default will be used
("state.savepoints.dir").
Options for yarn-cluster mode:
-m,--jobmanager <arg> Address of the JobManager (master) to
which to connect. Use this flag to connect
to a different JobManager than the one
specified in the configuration.
-yid,--yarnapplicationId <arg> Attach to running YARN session
-z,--zookeeperNamespace <arg> Namespace to create the Zookeeper
sub-paths for high availability mode

Options for default mode:
-m,--jobmanager <arg> Address of the JobManager (master) to which
to connect. Use this flag to connect to a
Expand Down
11 changes: 11 additions & 0 deletions docs/ops/cli.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ Action "run" compiles and runs a program.
shutdown when the CLI is terminated
abruptly, e.g., in response to a user
interrupt, such as typing Ctrl + C.
-yat,--yarnapplicationType <arg> Set a custom application type for the
application on YARN
-yD <property=value> use value for given property
-yd,--yarndetached If present, runs the job in detached
mode (deprecated; use non-YARN
Expand Down Expand Up @@ -425,6 +427,15 @@ Action "stop" stops a running program with a savepoint (streaming jobs only).
directory is specified, the configured
default will be used
("state.savepoints.dir").
Options for yarn-cluster mode:
-m,--jobmanager <arg> Address of the JobManager (master) to
which to connect. Use this flag to connect
to a different JobManager than the one
specified in the configuration.
-yid,--yarnapplicationId <arg> Attach to running YARN session
-z,--zookeeperNamespace <arg> Namespace to create the Zookeeper
sub-paths for high availability mode

Options for default mode:
-m,--jobmanager <arg> Address of the JobManager (master) to which
to connect. Use this flag to connect to a
Expand Down

0 comments on commit 3fff3fb

Please sign in to comment.