Re: question about watcher

2010-11-03 Thread Qian Ye
thanks Patrick, I want to know all watches set by all clients. I would open a jira and write some design think about it later. On Tue, Nov 2, 2010 at 11:53 PM, Patrick Hunt ph...@apache.org wrote: Hi Qian Ye, yes you should open a JIRA for this. If you want to work on a patch we could advise

Re: question about watcher

2010-11-02 Thread Qian Ye
Hi all, Is there any progress about this issue? Should we open a new JIRA for it? We really need a way to know who set watchers on a specific node. thanks~ On Thu, Aug 6, 2009 at 11:01 PM, Qian Ye yeqian@gmail.com wrote: Thanks Mahadev, I think it is a useful feature for many scenarios

A question about Watcher

2010-08-16 Thread Qian Ye
Hi all: Will the watchers of a client be losed when the client disconnects from a Zookeeper server? It is said at http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#ch_zkWatchesthat *When a client reconnects, any previously registered watches will be reregistered and

Re: A question about Watcher

2010-08-16 Thread Qian Ye
thx for explaination. Since the watcher can be preserved when the client switch the zookeeper server it connects to, does that means all the watchers information will be saved on all the zookeeper servers? I didn't find any source of the client can hold the watchers information. On Tue, Aug 17,

Re: A question about Watcher

2010-08-16 Thread Qian Ye
AM, Qian Ye wrote: thx for explaination. Since the watcher can be preserved when the client switch the zookeeper server it connects to, does that means all the watchers information will be saved on all the zookeeper servers? I didn't find any source of the client can hold the watchers

Re: Q about ZK internal: how commit is being remembered

2010-01-28 Thread Qian Ye
/citation.cfm?id=1529978 Henry On 27 January 2010 21:52, Qian Ye yeqian@gmail.com wrote: Hi Henry: According to your explanation, *ZAB makes the guarantee that a proposal which has been logged by a quorum of followers will eventually be committed* , however, the source code

Re: Q about ZK internal: how commit is being remembered

2010-01-28 Thread Qian Ye
the logged transaction becomes the leader that transaction will be committed. Hope that clear your doubt. mahadev On 1/28/10 6:02 PM, Qian Ye yeqian@gmail.com wrote: Thanks henry and ben, actually I have read the paper henry mentioned in this mail, but I'm still not so clear

Re: Q about ZK internal: how commit is being remembered

2010-01-27 Thread Qian Ye
Hi Henry: According to your explanation, *ZAB makes the guarantee that a proposal which has been logged by a quorum of followers will eventually be committed* , however, the source code of Zookeeper, the FastLeaderElection.java file, shows that, in the election, the candidates only provide their

Re: A question about Connection timed out and operation timeout

2009-08-20 Thread Qian Ye
that our thread was supposed to get control after a certain period, but we got control that many milliseconds late. what is your session timeout? ben From: Qian Ye [yeqian@gmail.com] Sent: Thursday, August 20, 2009 3:17 AM To: zookeeper-user

Re: question about watcher

2009-08-06 Thread Qian Ye
, Qian Ye yeqian@gmail.com wrote: Hi all: Is there a client API for querying the watchers' owner for a specific znode? In some situation, we want to find out who set watchers on the znode. thx -- With Regards! Ye, Qian Made in Zhejiang University

Re: Help to compile Zookeeper C API on a old system

2009-07-07 Thread Qian Ye
, Mahadev Konar maha...@yahoo-inc.com wrote: Hi Qian, I am not sure if it will work. You should be able to back port it such a way so that it works with gcc 3.*/4.*, but again I have never tried it. mahadev On 7/6/09 6:35 PM, Qian Ye yeqian@gmail.com wrote: Thanks Mahadev, I follow

Re: Help to compile Zookeeper C API on a old system

2009-07-06 Thread Qian Ye
. mahadev On 7/6/09 7:37 AM, Qian Ye yeqian@gmail.com wrote: Hi all: I'm writing to ask you to do me a favor. It's urgent. For some unchangeable reason, I have to compile libzookeeper_st.a, libzookeeper_mt.a on an old system: gcc 2.96 autoconf 2.13 automake 1.4-p5 libtool

Re: Some questions about Zookeeper 3.2.0

2009-06-29 Thread Qian Ye
A related question. If I have run a Zookeeper service with many ephemeral znodes on five servers, then I want to replace one of the servers by a new one, and the new server has a new IP. How can I do the job without any loss of data ? Thanks On Mon, Jun 29, 2009 at 9:24 AM, Qian Ye yeqian

Re: Some questions about Zookeeper 3.2.0

2009-06-28 Thread Qian Ye
for certain that 3.1.1 can change to 3.2 within a cluster. On Fri, Jun 26, 2009 at 7:16 PM, Qian Ye yeqian@gmail.com wrote: 2. How to upgrade from 3.1.1 to 3.2.0 properly. Just stop the old server and start the new server would be OK? Will this operation influence the old ephemeral

Some questions about Zookeeper 3.2.0

2009-06-26 Thread Qian Ye
Hi all: Here are two questions about Zookeeper 3.2.0: 1. When would Zookeeper 3.2.0 be released exactlly? I really want to have a look at the new version :-) 2. How to upgrade from 3.1.1 to 3.2.0 properly. Just stop the old server and start the new server would be OK? Will this operation

Some one send me some demo of programming with C client API for Zookeeper

2009-04-16 Thread Qian Ye
Hi all: I'm a fresh man to Zookeeper. Finding that the documents at zookeeper.hadoop.apache.org are mostly about Java client API. However, I want some c client code to get start. Anyone could help me? -- With Regards! Ye, Qian Made in Zhejiang University