Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1500#discussion_r49993429
  
    --- 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:
    +
    +~~~bash
    +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 shell deploy*s* ... and connect*s to* the cluster.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to