Using ZooKeeper for Configuration Managment

2009-11-23 Thread Ohad Ben Porat
Hey I am a newbie to ZooKeeper and be happy if someone could link me to a good example how ZooKeeper can be used for configuration management? Thanks.

legacy style watchers - or none at all

2009-11-23 Thread Maarten Koopmans
Hi, I am coding away on yet another client interface, and I can live in a situation where I have no watchers. Callbacks into my interpreter are a bit risky as well, so I am opting for the legacy style now, wrapping the c interface in such a way that it never allows watchers on paths (and

[Fwd: Re: 1st Hadoop India User Group meet]

2009-11-23 Thread Patrick Hunt
See attached - Hadoop India User Group meet up on 28th November 2009 in Noida, India. Aby Abraham will be presenting on ZooKeeper. Patrick ---BeginMessage--- Here is the updated agenda for Hadoop India User Group meet up on 28th November 2009 in Noida- - Introductions - Sessions- -

Re: Using ZooKeeper for Configuration Managment

2009-11-23 Thread Patrick Hunt
Config management and group membership are two of the simplest use cases for ZK, we don't have a recipe here as it's pretty basic (not that we couldn't/shouldn't) The java example in our docs is pretty close, it sets a watch on a node and monitors for changes. This is the typical pattern for

Re: c client on win32

2009-11-23 Thread Patrick Hunt
fyi, this patch allows compilation under cygwin but the tests are currently not passing (probably not handling the space in windows directory names correctly, but haven't had a chance to track it down). This should go into 3.3.0 https://issues.apache.org/jira/browse/ZOOKEEPER-586 Maarten

Re: c client on win32

2009-11-23 Thread maar...@vrijheid
Cygwin 1.5 or 1.7? I'll cross test tomorrow. --Maarten Op 23 nov 2009 om 18:38 heeft Patrick Hunt ph...@apache.org het volgende geschreven:\ fyi, this patch allows compilation under cygwin but the tests are currently not passing (probably not handling the space in windows directory

Re: c client on win32

2009-11-23 Thread Patrick Hunt
I have 1.5 installed. 1.7 is not official yet afaict (anyway, we probably want to continue to support 1.5, I suspect that if 1.5 works it should continue to work in 1.7... but would be nice to find out at some point) Patrick maar...@vrijheid wrote: Cygwin 1.5 or 1.7? I'll cross test

Re: Error running contrib tests

2009-11-23 Thread Erik Holstad
Sorry that it took so long, but I ran into trouble when trying out trunk instead of 3.2.1. It has nothing to do with the zookeeper code, I think, but more with my environment. After switching to trunk, I got back the original error and have been struggling with it since. I'm running on Fedora9.

Re: Error running contrib tests

2009-11-23 Thread Erik Holstad
Have been messing around to try to get it included in the setup.py script. But not sure if it is good to have it there since writing to /usr/ld.so.conf and reloading the /sbin/ldconfig requires sudo status. But on the other hand that is needed to install from the beginning. I could add something