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

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

so, I've rewritten the startup of the scala shell,
now you start it with either :
{code} $ ./bin/start-scala-shell.sh local{code}
or
{code} $ ./bin/start-scala-shell.sh remote <host> <port> {code}
you can specify additional jar files with
{{-a | -addclasspath}}
you can get help with:
{{-h | --help}}
it will show following message:
{code}
Flink Scala Shell
Usage: start-scala-shell.sh [local|remote] [options] <args>...

  -h | --help
        prints this usage text

Command: local [options]
starts Flink scala shell with a local Flink cluster

  -a <path/to/jar> | --addclasspath <path/to/jar>
        specifies additional jars to be used in Flink

Command: remote [options] <host> <port>
starts Flink scala shell connecting to a remote cluster

  <host>
        remote host name as string
  <port>
        remote port as integer

  -a <path/to/jar> | --addclasspath <path/to/jar>
        specifies additional jars to be used in Flink
{code}
when starting up correctly it says:
{{Starting local Flink cluster (host: localhost, port 6123)}}
{{Connecting to Flink cluster (host: xyz, port 6123)}}
respectively. 

Any additional suggestions, or comments?

> 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