Github user mxm commented on the pull request: https://github.com/apache/flink/pull/1978#issuecomment-222480544 Thanks for your comments @EronWright. This the the first refactoring of the client code of both cluster related and job submission related matters. It is a very good suggestion to separate the two. I would like to build upon this PR in a follow-up. I'll push a revised version of this PR later which clarifies the `detached` flag to make it solely indicate detached job submission. You're right, the dispatcher can have its own logic to decide whether the cluster should be kept alive or shutdown after job completion. The update will also completely get rid of Yarn dependencies in the CliFrontend (e.g. Yarn properties file).
--- 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. ---