Running Flink cluster via Marathon

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Running Flink cluster via Marathon

Mar_zi
Hello I have a Mesos cluster of two master and three slaves, I configured Marathon and Zookeeper. My Zookeeper cluster has five nodes. When I run Flink Json file via Marathon, it is run, but I can see Flink UI in just one slave. Other slaves show me this error: Service temporarily unavailable due to an ongoing leader election. Please refresh. 

I have searched a lot, but cannot find a solution. Also, I know it is Zookeeper problem,so I changed default Zookeeper port, even though it did not help.


Would you please tell me how to solve the issue?


Thank you in advance.

Reply | Threaded
Open this post in threaded view
|

Re: Running Flink cluster via Marathon

miki haiat
How many Job manager did you configure ?




On Mon, Jul 15, 2019, 07:11 Marzieh Ghasemy <[hidden email]> wrote:
Hello I have a Mesos cluster of two master and three slaves, I configured Marathon and Zookeeper. My Zookeeper cluster has five nodes. When I run Flink Json file via Marathon, it is run, but I can see Flink UI in just one slave. Other slaves show me this error: Service temporarily unavailable due to an ongoing leader election. Please refresh. 

I have searched a lot, but cannot find a solution. Also, I know it is Zookeeper problem,so I changed default Zookeeper port, even though it did not help.


Would you please tell me how to solve the issue?


Thank you in advance.