helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Changgeng Li <li.changg...@gmail.com>
Subject Re: HelixManager is deprecated?
Date Fri, 10 Jul 2015 05:38:13 GMT
any recommendation workaround before this is fixed?

Seems the latest tutorial is updated not to use HelixManager for controller
and participant.

On Thu, Jul 9, 2015 at 10:02 PM, Zhen Zhang <nehzgnahz@gmail.com> wrote:

> 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