a presentation, but I'm sure someone will ask
these questions.
Thanks tons!
Stu Hood
Architecture Software Developer
Mailtrust, a Division of Rackspace
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
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
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&
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
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
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
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
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