Hi all, Here,there are two nimbuses in the cluster(stormtest242.local and
stormtest243.local).The nimbus[stormtest242.local] is a leader and the other
one[stormtest243.local] is a follower when the cluster startup.And the Storm
HA is ok. But, when the storm cluster runs for a long time , the ui can't
find the nimbus leader sometimes.That is the following exception on the
UI:backtype.storm.utils.NimbusLeaderNotFoundException: Found nimbuses
[NimbusSummary(host:stormtest242.local, port:6627, uptime_secs:283,
isLeader:false, version:0.10.0)] none of which is elected as leader, please try
again after some time. at
backtype.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:85)
at backtype.storm.ui.core$nimbus_summary.invoke(core.clj:581) at
backtype.storm.ui.core$fn__10920.invoke(core.clj:1030)
orNo nimbus leader participant host found, have you started your nimbus hosts?
When i view the all nimbus.log in the cluster,i found the old nimbus
leader[stormtest242.local] was dead and the new nimbus
leader[stormtest243.local] is running.But the UI always connect to dead
leader[stormtest242.local] rather than the live leader[stormtest243.local]
,even if i restart the ui process.
So,what's wrong with the nimbus HA? and why the ui always connect to the dead
leader?