[ https://issues.apache.org/jira/browse/FLINK-6136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998215#comment-15998215 ]
ASF GitHub Bot commented on FLINK-6136: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/3622 > Separate EmbeddedNonHaServices and NonHaServices > ------------------------------------------------ > > Key: FLINK-6136 > URL: https://issues.apache.org/jira/browse/FLINK-6136 > Project: Flink > Issue Type: Sub-task > Components: Distributed Coordination > Affects Versions: 1.3.0 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Fix For: 1.3.0 > > > Currently, the {{NonHaServices}} and the {{EmbeddedNonHaServices}} share the > same code base for the {{JobManager}} leader election and retrieval. This > works if the respective components run in the same process. However, in case > of a distributed execution, we have to instantiate > {{StandaloneLeaderRetrieval/ElectionServices}} to make the leader retrieval > possible. > I propose to instantiate the {{StandaloneLeaderRetrieval/ElectionServices}} > in the {{NonHaServices}} implementation and to use them in case of a > distributed non-ha execution setting. -- This message was sent by Atlassian JIRA (v6.3.15#6346)