Re: getting created child on NodeChildrenChanged event

2010-08-31 Thread Todd Nine
, 2010 at 3:49 AM, Todd Nine t...@spidertracks.co.nz wrote: Hi all, I'm writing a distributed queue monitoring class for our leader node in the cluster. We're queueing messages per input hardware device, this queue is then assigned to a node with the least load in our cluster. To do

Receiving create events for self with synchronous create

2010-08-26 Thread Todd Nine
Hi all, I'm running into a strange issue I could use a hand with. I've implemented leader election, and this is working well. I'm now implementing a follower queue with ephemeral nodes. I have an interface IClusterManager which simply has the api clusterChanged. I don't care if nodes are

What roles do even nodes play in the ensamble

2010-08-25 Thread Todd Nine
Hey guys, Forgive me if this is documented somewhere, but I can't find an answer. Our application is not enormous, so we will be using 4 application nodes that will also initially run Zookeeper. As our load increases, Zookeeper will be moved to nodes that only run ZK and no other processes.

Re: What roles do even nodes play in the ensamble

2010-08-25 Thread Todd Nine
SOFTWARE ENGINEER todd nine| spidertracks ltd | 117a the square po box 5203 | palmerston north 4441 | new zealand P: +64 6 353 3395 | M: +64 210 255 8576 E: t...@spidertracks.co.nz W: www.spidertracks.com On Wed, 2010-08-25 at 17:57 -0400, Dave Wright wrote: 1. When the 4th ZK node

Re: What roles do even nodes play in the ensamble

2010-08-25 Thread Todd Nine
in the voting and you need a majority of 3 to elect a leader. -Dave On Wed, Aug 25, 2010 at 6:09 PM, Todd Nine t...@spidertracks.co.nz wrote: Thanks for that Dave. If I do not configure it as an observer just a normal member, what will the last even node to join do? 1

Re: What roles do even nodes play in the ensamble

2010-08-25 Thread Todd Nine
. -Dave Wright On Wed, Aug 25, 2010 at 6:22 PM, Todd Nine t...@spidertracks.co.nz wrote: Do I get any read performance increase (similar to an observer) since the node will not have a voting role?

Re: What roles do even nodes play in the ensamble

2010-08-25 Thread Todd Nine
to be alive is still three - it doesn't drop down to two. The majority is of all voting servers, alive or dead. Hope this helps - Henry On 25 August 2010 21:01, Todd Nine t...@spidertracks.co.nz wrote: Thanks Dave. I've been using Cassandra, so I'm trying to get

Non Hadoop scheduling frameworks

2010-08-23 Thread Todd Nine
Hi all, We're using Zookeeper for Leader Election and system monitoring. We're also using it for synchronizing our cluster wide jobs with barriers. We're running into an issue where we now have a single job, but each node can fire the job independently of others with different criteria in the