Hi Seye,

usually, Flink's web UI should be accessible after a successful leader
election. Could you share with us the cluster logs to see what's going on?
Without this information it is hard to tell what's going wrong.

What you could also do is to check the ZooKeeper znode which represents the
cluster id (if you are using Yarn it should be something like
/flink/application_...). There you could check the contents of the leader
znode of the web ui (leader/rest_server_lock). It should contain the
address of the current leader if there is one.

Cheers,
Till

On Sat, Mar 2, 2019 at 5:29 AM Seye Jin <seyej...@gmail.com> wrote:

> I am getting "service temporarily unavailable due to an ongoing leader
> election" when I try to access Flink UI. The jobmanager has HA configured,
> I have tried to restart jobmanager multiple times but no luck. I also tried
> submitting my job from console but I also get the same message.
> When I view logs during JM restart I see no errors, it even says
> "jobmanager was granted leadership with ..."
> Any hints to try and remediate this issue will be much appreciated. I have
> multiple stateful applications running so I cannot start a new
> cluster(since I am unable to do a savepoint also).
> Thanks
>
>

Reply via email to