Read Write Performance Graphs

2008-10-01 Thread Stu Hood
a presentation, but I'm sure someone will ask these questions. Thanks tons! Stu Hood Architecture Software Developer Mailtrust, a Division of Rackspace

RE: [Zookeeper-user] how to handle zookeeper server crash from client

2008-10-15 Thread Stu Hood
Hey Ted, The client library already handles all of this for you. Its not very clear, but the `host` parameter to: > ZooKeeper(String host, int sessionTimeout, Watcher watcher) ... takes a comma separated list of server:port pairs, which should be the full list of servers in your quorum. Assumin

Exists Watch Triggered by Delete

2008-11-12 Thread Stu Hood
esult); > } > break; -- Why shouldn't an exists watch be triggered by a node being deleted? That is a really common use case in my code, so I want to rule it out as the cause of a bug I'm hunting for. Thanks, Stu Hood Architecture Software Developer Mailtrust, a Division of Rackspace

Re: Exists Watch Triggered by Delete

2008-11-12 Thread Stu Hood
NONODE), in which case it will register using existsWatches (again, client side). The comment you referenced in your original email is true - that code should never execute as the existsWatches list only contains watches for NONODE watch registrations (which obv couldn't be deleted since it doesn&

Re: Exists Watch Triggered by Delete

2008-11-15 Thread Stu Hood
pm To: zookeeper-user@hadoop.apache.org Subject: Re: Exists Watch Triggered by Delete Stu Hood wrote: >> The comment you referenced in your original email is true - that >> code should never execute as the existsWatches list only contains >> watches for NONODE watch registrations

RE: mutexes

2009-01-04 Thread Stu Hood
See http://hadoop.apache.org/zookeeper/docs/r3.0.1/recipes.html#sc_recipes_Locks for the recommended implementation. -Original Message- From: "Kevin Burton" Sent: Saturday, January 3, 2009 11:13pm To: zookeeper-user@hadoop.apache.org Subject: mutexes I assume the recipe for creating a

RE: Maximum number of children

2009-01-12 Thread Stu Hood
To continue with your current design, you could create a trie based on shared hash prefixes. /root/template/date/ 1a5e67/2b45dc /root/template/date/ 1a5e67/3d4a1f /root/template/date/ 3d4a1f/1a5e67 /root/template/date/ 3d4a1f/2b45dc Alternatively, you could use what the maildir mail storage form

Re: Watches

2009-06-04 Thread Stu Hood
A watch is a 1-time event: after the watch is triggered, you will need to reset the watch to be notified again. -Original Message- From: "Avinash Lakshman" Sent: Thursday, June 4, 2009 10:52pm To: zookeeper-user@hadoop.apache.org Subject: Re: Watches So I use the getChildren() API to s

Re: Show your ZooKeeper pride!

2009-06-09 Thread Stu Hood
So is Hadoop... don't let that stop you. -Original Message- From: "Mahadev Konar" Sent: Monday, June 8, 2009 10:09pm To: zookeeper-user@hadoop.apache.org, "gene...@hadoop.apache.org" Cc: "zookeeper-...@hadoop.apache.org" Subject: Re: Show your ZooKeeper pride! Its just that Zookeeper