[ https://issues.apache.org/jira/browse/FLINK-8608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361019#comment-16361019 ]
ASF GitHub Bot commented on FLINK-8608: --------------------------------------- Github user GJL commented on a diff in the pull request: https://github.com/apache/flink/pull/5431#discussion_r167608001 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java --- @@ -300,4 +587,12 @@ protected static ClusterConfiguration parseArguments(String[] args) { protected static Configuration loadConfiguration(ClusterConfiguration clusterConfiguration) { return GlobalConfiguration.loadConfiguration(clusterConfiguration.getConfigDir()); } + + /** + * Execution mode of the {@link MiniDispatcher}. + */ + public enum ExecutionMode { + NORMAL, // waits until the job result has been served --- End diff -- Should also be a Javadoc comment: ``` /** * Execution mode of the {@link MiniDispatcher}. */ public enum ExecutionMode { /** * Waits until the job result has been served. */ NORMAL, /** * Directly stops after the job has finished. */ DETACHED } ``` > Add MiniDispatcher for job mode > ------------------------------- > > Key: FLINK-8608 > URL: https://issues.apache.org/jira/browse/FLINK-8608 > Project: Flink > Issue Type: New Feature > Components: Distributed Coordination > Affects Versions: 1.5.0 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Priority: Major > Labels: flip-6 > Fix For: 1.5.0 > > > In order to properly support the job mode, we need a {{MiniDispatcher}} which > is started with a pre initialized {{JobGraph}} and launches a single > {{JobManagerRunner}} with this job. Once the job is completed and if the > {{MiniDispatcher}} is running in detached mode, the {{MiniDispatcher}} should > terminate. -- This message was sent by Atlassian JIRA (v7.6.3#76005)