helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Changgeng Li <li.changg...@gmail.com>
Subject HelixManager is deprecated?
Date Fri, 10 Jul 2015 04:03:31 GMT
Hello,

We are relying on HelixManager.isConnected() method for health check.


Following code print true in 0.6.2, but print false in 0.7.1

HelixManager helixManager = HelixManagerFactory.getZKHelixManager(
        "test-cluster",
        "localhost_9001",
        InstanceType.CONTROLLER_PARTICIPANT,
        "localhost:2181"
);
helixManager.connect();
Thread.sleep(5000);
System.out.println("connected: " + helixManager.isConnected());
Thread.sleep(5000);

Mime
View raw message