[ 
https://issues.apache.org/jira/browse/FLINK-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14629565#comment-14629565
 ] 

Till Rohrmann commented on FLINK-2366:
--------------------------------------

What do you mean exactly with embedded and distributed?

If you use Flink's embedded mode, then this would mean that every node would 
work independently of each other. There is no possibility to make the embedded 
Flink instances to work together.

If you want to run Flink in a distributed manner, then you have to start a 
Flink cluster. And then you can also start a ZK on the same nodes, if there is 
none available. But usually, you want to run these kind of things on highly 
reliable nodes and not in yarn containers, for example.

On a first glance, copycat seems to be usable for HA, as well. It offers a 
similar functionality what we're currently using from ZK. It should not be a 
problem to implement a new {{LeaderElectionService}}/{{LeaderRetrievalService}} 
which uses copycat. However, copycat is still under heavy development and not 
recommended to be used in production. And you have the problem that your 
fault-tolerant value store is running on the same nodes as Flink. These nodes 
don't have to be necessarily reliable.

> HA Without ZooKeeper
> --------------------
>
>                 Key: FLINK-2366
>                 URL: https://issues.apache.org/jira/browse/FLINK-2366
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Suminda Dharmasena
>            Priority: Minor
>
> Please provide a way to do HA without having to use ZK.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to