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

    https://github.com/apache/flink/pull/2034#discussion_r64572519
  
    --- Diff: 
flink-clients/src/main/java/org/apache/flink/client/FlinkYarnSessionCli.java ---
    @@ -91,6 +93,7 @@
     
        public FlinkYarnSessionCli(String shortPrefix, String longPrefix) {
                QUERY = new Option(shortPrefix + "q", longPrefix + "query", 
false, "Display available YARN resources (memory, cores)");
    +           APPLICATION_ID = new Option(shortPrefix + "id", longPrefix + 
"applicationId", true, "Attach to running YARN session");
    --- End diff --
    
    The `APPLICATION_ID` option is integrated here but the 
`FlinkYarnSessionCli` doesn't support attaching to existing applications. I 
think it could be useful to check during instantiation of the YarnSessionCli in 
the `run(..)` method whether we want to start a new application or resume.


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