int retry_times = 10;
StormClusterState zkClient = data.getStormClusterState();
for (int i = 0; i < retry_times; i++, JStormUtils.sleepMs(sleepTime)) {
if (zkClient.leader_existed() == false) {
continue;
}
String zkHost = zkClient.get_leader_host();
if (hostPort.equals(zkHost) == true) {