helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kishore g <g.kish...@gmail.com>
Subject Re: Some newbie questions
Date Thu, 02 May 2013 16:18:39 GMT
Hi Alexandre,

Glad you like Helix.

1. See if vinayaks suggestion works for you. I have couple of questions
what is the execution mode, you can get this from the idealstate MODE
property. If its AUTO you can change the preference list.
But I am surprised that after disabling the instance user defined messages
cannot happen. That was not intended in the design, so it might be a bug.
Can you give more information on how you are trying to send the message and
what is the criteria set to compute the recipients.

2. Yes, Helix architecture is not tied to zookeeper. We are mainly using it
for storing the cluster state. We had another simple file based manager
earlier but we removed it in favor of running zookeeper locally in dev
mode. It would be great to have this contribution. There are quite a few
use cases that can benefit from a non zk implementation.

Kishore G

On Thu, May 2, 2013 at 9:06 AM, Vinayak Borkar <vinayakb@gmail.com> wrote:

>>   1. I'm using a LeaderStandby in order to build a single global lock on
>> my cluster, it works as expected.. but in order to release the lock I have
>> to put the current leader in standby... I could achieve this by disabling
>> the current instance. It works, but doing this I loose (at least seems to
>> be) the ability to send/receive user defined messages. I'd like to know if
>> it's possible to, via an api call, force a transition from Leader to
>> Standby without disable an instance.
> I am a newbie to Helix too and I had a similar question a few days ago.
> Have you looked into disabling the resource by using the disablePartition()
> call in HelixAdmin using a partition number of 0? This should disable just
> the resource without impacting the instance.
> Vinayak
>>   2. I've been taking a quick look on Helix codebase, more specific on
>> ZooKeeper usage. Seems that you're using ZooKeeper as a default
>> implementation, but Helix architecture is not tied to it, right? I'm asking
>> this, because I'm interested to implement (in a near future) a different
>> backend (Infinispan).
>> That's it for now...  thanks in advance.
>> Cheers,
>> ---
>> Alexandre Porcelli
>> porcelli@redhat.com

View raw message