[ 
https://issues.apache.org/jira/browse/FLINK-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728819#comment-14728819
 ] 

Nikolaas Steenbergen commented on FLINK-2613:
---------------------------------------------

There is a {{--help}} option:
{code}
Flink Scala Shell
Usage: start-scala-shell.sh [options]

  -p <value> | --port <value>
        port specifies port of running JobManager
  -h <value> | --host <value>
        host specifies host name of running JobManager
  --help
        prints this usage text
{code}
I could add something like:
{code}
The Scala-Shell starts a local mini cluster by default,
to connect to a remote cluster please specify --port and --host
{code} 

Admittedly it should also work with {{-h}}, which it does not right now.  

> Print usage information for Scala Shell
> ---------------------------------------
>
>                 Key: FLINK-2613
>                 URL: https://issues.apache.org/jira/browse/FLINK-2613
>             Project: Flink
>          Issue Type: Improvement
>          Components: Scala Shell
>    Affects Versions: 0.10
>            Reporter: Maximilian Michels
>            Priority: Minor
>              Labels: starter
>             Fix For: 0.10
>
>
> The Scala Shell startup script starts a {{FlinkMiniCluster}} by default if 
> invoked with no arguments.
> We should add a {{--help}} or {{-h}} option to make it easier for people to 
> find out how to configure remote execution. Alternatively, we could print a 
> notice on the local startup explaining how to start the shell in remote mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to