Re: ZooKeeper Roadmap - 3.1.0 and beyond.

2008-11-05 Thread Adam Rosien
If someone could deploy a build to a public maven repository it would really help zk client development and adoption when integrating with external maven-ized projects, since adding such a dependency is trivial in maven. .. Adam On Wed, Nov 5, 2008 at 12:28 PM, Patrick Hunt [EMAIL PROTECTED]

Re: Sending data during NodeDataChanged or NodeCreated

2009-01-07 Thread Adam Rosien
On Wed, Jan 7, 2009 at 12:46 PM, Kevin Burton bur...@spinn3r.com wrote: On Wed, Jan 7, 2009 at 9:25 AM, Benjamin Reed br...@yahoo-inc.com wrote: This is the behavior we had when we first implemented the API, and in every case where people used the information there was a bug. it is virtually

Re: Updated NodeWatcher...

2009-01-08 Thread Adam Rosien
It feels like we need a flowchart, state-chart, or something, so we can all talk about the same thing. Then people could suggest abstractions that would essentially put a box around sections of the diagram. However I feel woefully inadequate at the former :(. .. Adam On Thu, Jan 8, 2009 at 4:20

Re: Standard redistributable set of primitives?

2009-01-17 Thread Adam Rosien
Re: ZOOKEEPER-80: (I'm waiting for my password reset to the ASF JIRA so I thought I'd comment here in the mean time...) Maven has a nice directory layout structure that takes into account multiple languages, e.g., src/main/java, src/main/c, etc. I really dislike the terms recipes and contrib

blog post about zk and group membership

2010-01-09 Thread Adam Rosien
I've written a blog post about using ZooKeeper for group membership at KaChing: http://bit.ly/6yraP6 http://eng.kaching.com/2010/01/actually-implementing-group-management.html Any comments or feedback is welcome. .. Adam

Re: blog post about zk and group membership

2010-01-11 Thread Adam Rosien
). In particular (again, at the time, may be addressed by now) watch notifications could be lost during disconnected/expired sessions, and the user would not be made aware of this. 3) excellent point/suggestion on the rogue service Patrick Adam Rosien wrote: I've written a blog post about

Re: blog post about zk and group membership

2010-01-11 Thread Adam Rosien
solve. That too can be a black hole :(. I need more practical experience to find the right balance. .. Adam On Mon, Jan 11, 2010 at 10:20 AM, Patrick Hunt ph...@apache.org wrote: Adam Rosien wrote: Re off the shelf, my title of Actually Implementing was a *bit* snarky to try and gain some

Re: blog post about zk and group membership

2010-01-11 Thread Adam Rosien
service Patrick Adam Rosien wrote: I've written a blog post about using ZooKeeper for group membership at KaChing: http://bit.ly/6yraP6 http://eng.kaching.com/2010/01/actually-implementing-group-management.html Any comments or feedback is welcome. .. Adam

Re: Killing a zookeeper server

2010-01-12 Thread Adam Rosien
I have a related question: what's the behavior of a cluster of 3 when one is down? I've tried it and a leader is elected, but are there any other caveats for this situation? .. Adam On Tue, Jan 12, 2010 at 2:40 PM, Patrick Hunt ph...@apache.org wrote: 12 servers? That's alot, if you dont' mind

Re: Killing a zookeeper server

2010-01-12 Thread Adam Rosien
to keep going. In general, if fewer than half your nodes have failed, ZK will keep on keeping on. The main concern with a cluster of 2/3 machines is that a single further failure will bring down the whole cluster. Henry 2010/1/12 Adam Rosien a...@rosien.net I have a related question: what's

Re: Killing a zookeeper server

2010-01-13 Thread Adam Rosien
On a related note, it was initially confusing to me that the server returned 'imok' when it wasn't part of the quorum. I realize the internal checks are probably in separate areas of the code, but if others feel similarly I could file an improvement in JIRA. .. Adam On Wed, Jan 13, 2010 at 11:19

Re: Killing a zookeeper server

2010-01-13 Thread Adam Rosien
able to elect a leader? mahadev On 1/13/10 11:52 AM, Adam Rosien a...@rosien.net wrote: On a related note, it was initially confusing to me that the server returned 'imok' when it wasn't part of the quorum. I realize the internal checks are probably in separate areas of the code

bug: wrong heading in recipes doc

2010-04-22 Thread Adam Rosien
http://hadoop.apache.org/zookeeper/docs/r3.3.0/recipes.html#sc_recoverableSharedLocks uses the heading recoverable locks, but the text refers to revocable. .. Adam

Re: bug: wrong heading in recipes doc

2010-04-22 Thread Adam Rosien
I got in actually. I'll file the issue. Grr. On Thu, Apr 22, 2010 at 1:26 PM, Adam Rosien a...@rosien.net wrote: I would, but the Apache JIRA has been f***ed since the breakin and I can't reset my password. Would you mind adding it for me? .. Adam On Thu, Apr 22, 2010 at 11:32 AM, Patrick

Re: bug: wrong heading in recipes doc

2010-04-22 Thread Adam Rosien
, Patrick Hunt ph...@apache.org wrote: No problem. https://issues.apache.org/jira/browse/ZOOKEEPER-752 I've seen alot of traffic on infrastruct...@apache, you might try there, I'm sure they could help you out. Regards, Patrick On 04/22/2010 01:26 PM, Adam Rosien wrote: I would

Re: bug: wrong heading in recipes doc

2010-04-22 Thread Adam Rosien
My sequence number is lower. Do I win? :) On Thu, Apr 22, 2010 at 4:44 PM, Adam Rosien a...@rosien.net wrote: Good one! I'm the only one in my office who regularly makes zk jokes. On Thu, Apr 22, 2010 at 1:40 PM, Mahadev Konar maha...@yahoo-inc.com wrote: I think we should be using zookeeper

Re: ZKClient

2010-05-04 Thread Adam Rosien
I use zkclient in my work at kaChing and I have mixed feelings about it. On one hand it makes easy things easy which is great, but on the other hand I very few ideas what assumptions it makes under the hood. I also dislike some of the design choices such as unchecked exceptions, but that's neither

Re: ZKClient

2010-05-04 Thread Adam Rosien
contrib module which lays out the assumptions/design of it. It could very well be useful for others. Its just that folks havent had much time to focus on these areas as yet. Thanks mahadev On 5/4/10 2:58 PM, Adam Rosien a...@rosien.net wrote: I use zkclient in my work at kaChing and I have

Re: GSoC 2010: ZooKeeper Failure Detector Module

2010-05-05 Thread Adam Rosien
Hi Abmar, cool project! I wrote an implementation of the Phi Accrual Detector which I would be happy to donate. It has the nice property that its parameters are based on expectation odds rather than something more arbitrary like # retries. You can steal it at http://github.com/arosien/failure.

Re: ZkClient package

2010-07-14 Thread Adam Rosien
Thomas - I like the ideas of your proposal, it seems very natural to use Callable/Future for zk operations rather than something with more opaque semantics (does this method block? etc.). Let's discuss this more, I'd be more than happy to help out. We're still using 3.2.1 so I'll probably have

Re: Sequence Number Generation With Zookeeper

2010-08-11 Thread Adam Rosien
What happens during a network partition and different clients are incrementing different counters, and then the partition goes away? Won't (potentially) the same sequence value be given out to two clients? .. Adam On Thu, Aug 5, 2010 at 5:38 PM, Jonathan Holloway jonathan.hollo...@gmail.com

Re: Sequence Number Generation With Zookeeper

2010-08-11 Thread Adam Rosien
. In a network partition, the side without a quorum can't update the file version. On Wed, Aug 11, 2010 at 3:11 PM, Adam Rosien a...@rosien.net wrote: What happens during a network partition and different clients are incrementing different counters, and then the partition goes away? Won't

Backing up zk data files

2010-08-11 Thread Adam Rosien
http://hadoop.apache.org/zookeeper/docs/r3.3.1/zookeeperAdmin.html#sc_dataFileManagement says that one can copy the contents of the data directory and use it on another machine. The example states the other instance is not in the server list; what would happen if one did copy it to an offline