flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tillrohrmann <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2935] [scala-shell] Allow Scala shell t...
Date Mon, 18 Jan 2016 12:34:29 GMT
Github user tillrohrmann commented on a diff in the pull request:

    --- Diff: docs/apis/scala_shell.md ---
    @@ -69,6 +69,18 @@ Scala-Flink> env.execute("MyProgram")
     The Flink Shell comes with command history and autocompletion.
    +## Scala Shell with Flink on YARN
    +The Scala shell can connect Flink cluster on YARN. To connect deployed Flink cluster
on YARN, use following command:
    +bin/start-scala-shell.sh yarn
    +The shell reads the connection information of the deployed Flink cluster from a `.yarn-properties`
file in temporary directory. If there is no deployed Flink cluster on YARN, the shell prints
error message.
    +The shell can deploy Flink cluster to YARN for the shell only. If you add an parameter
`-n <arg>` which means a number of containers, the shell deploy a new Flink cluster
on YARN and connect the cluster. You can also specify options for YARN cluster such as memory
for JobManager, name of YARN application, etc.. 
    --- End diff --
    The number of YARN containers can be controlled by the parameter `-n <arg>`. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message