Re: Watcher examples

2010-11-15 Thread Mahadev Konar
Yup. This would be really nice to have. More examples and documentaiton for them, would be really helpful for our users. Thanks mahadev On 11/15/10 12:54 PM, "Patrick Hunt" wrote: > It would be great to have more examples as part of the release > artifact. Would you mind creating a JIRA/patc

Re: Watcher examples

2010-11-15 Thread Patrick Hunt
It would be great to have more examples as part of the release artifact. Would you mind creating a JIRA/patch for this? http://wiki.apache.org/hadoop/ZooKeeper/HowToContribute I'm thinking that we could have a src/contrib/examples or src/examples ... what do you guys think? (mahadev?) Patrick

Re: Watcher examples

2010-11-11 Thread Jeremy Hanna
Thanks for posting Robert! On Nov 11, 2010, at 2:46 PM, Robert Crocombe wrote: > On Tue, Nov 9, 2010 at 12:34 PM, Jeremy Hanna > wrote: > >> Anyone know of a good blog post or docs anywhere that gives a simple >> example of Watchers in action? I saw the one on: >> >> http://hadoop.apache.org/

Re: Watcher examples

2010-11-11 Thread Robert Crocombe
On Tue, Nov 9, 2010 at 12:34 PM, Jeremy Hanna wrote: > Anyone know of a good blog post or docs anywhere that gives a simple > example of Watchers in action? I saw the one on: > > http://hadoop.apache.org/zookeeper/docs/current/javaExample.html#ch_Introduction > > but it seems kind of overly compl

Watcher examples

2010-11-09 Thread Jeremy Hanna
Anyone know of a good blog post or docs anywhere that gives a simple example of Watchers in action? I saw the one on: http://hadoop.apache.org/zookeeper/docs/current/javaExample.html#ch_Introduction but it seems kind of overly complicated for an intro to Watchers. I appreciate the example but