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

    https://github.com/apache/flink/pull/750#discussion_r38856545
  
    --- Diff: docs/apis/cli.md ---
    @@ -185,6 +189,18 @@ Action "list" lists running and scheduled programs.
          -s,--scheduled                Show only scheduled programs and their 
JobIDs
     
     
    +Action "stop" stops a running program (streaming jobs only).
    +
    +  Syntax: stop [OPTIONS] <Job ID>
    +  "stop" action options:
    +     -m,--jobmanager <host:port>   Address of the JobManager (master) to 
which
    +                                   to connect. Specify 'yarn-cluster' as 
the
    +                                   JobManager to deploy a YARN cluster for 
the
    +                                   job. Use this flag to connect to a 
different
    --- End diff --
    
    If you put "-m yarn-cluster", it will deploy a YARN cluster from the 
client. The "-m yarn cluster" option should only be available to the "run" 
command.
    For stop, users should usually not specify the JobManager address, because
    - in standalone mode, the JM address is in the conf
    - in YARN Mode, the JM address is in a special `.yarn-properties` file.
    Only if that is not working, users can use the "-m <jobmanager:port>".


---
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