helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhen Zhang <nehzgn...@gmail.com>
Subject Re: HelixManager is deprecated?
Date Fri, 10 Jul 2015 05:02:01 GMT
This seems to be a bug. Need to fix it. Created a jira to track this:
https://issues.apache.org/jira/browse/HELIX-605


On Thu, Jul 9, 2015 at 9:03 PM, Changgeng Li <li.changgeng@gmail.com> wrote:

> 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