Re: permanent ZSESSIONMOVED

2010-03-18 Thread Łukasz Osipiuk
'; callback error='session moved to another server, so operation is ignored' info added to jira (If you can cut and paste that code on the jira that you create, it would be helpful!)... Thanks mahadev On 3/17/10 2:56 AM, Łukasz Osipiuk luk...@osipiuk.net wrote: Ok. I analysed some

cluster fails to start - broken snapshot?

2010-03-18 Thread Łukasz Osipiuk
after 20secs (initLimit=10, tickTime=2000). Maybe all I have to do is increase one or other. which one? Are there any downsides of increasing tickTime. Best regards, Łukasz Osipiuk PS. due to attachment size limit I used split. to untar use cat nodeX-version-2.tgz-* |tar -xz -- -- Łukasz

Re: permanent ZSESSIONMOVED

2010-03-18 Thread Łukasz Osipiuk
() path='/ggmboxlocks/16314'; callback error='session moved to another server, so operation is ignored' info added to jira (If you can cut and paste that code on the jira that you create, it would be helpful!)... Thanks mahadev On 3/17/10 2:56 AM, Łukasz Osipiuk luk...@osipiuk.net wrote

permanent ZSESSIONMOVED

2010-03-16 Thread Łukasz Osipiuk
) at org.apache.zookeeper.server.PrepRequestProcessor.run(PrepRequestProcessor.java:114) To workaround disconnections I am going to increase session timeout from 5 to 15 seconds but event if it helps at all it is just a workaround. Do you have an idea where is the source of my problem. Regards, Łukasz Osipiuk -- -- Łukasz Osipiuk mailto:luk

Re: permanent ZSESSIONMOVED

2010-03-16 Thread Łukasz Osipiuk
nope. I always pass 0 as clientid. Łukasz On Tue, Mar 16, 2010 at 16:20, Benjamin Reed br...@yahoo-inc.com wrote: do you ever use zookeeper_init() with the clientid field set to something other than null? ben On 03/16/2010 07:43 AM, Łukasz Osipiuk wrote: Hi everyone! I am writing

Re: permanent ZSESSIONMOVED

2010-03-16 Thread Łukasz Osipiuk
any of them at the moment. Regards, Łukasz Patrick Łukasz Osipiuk wrote: not really - it happens occasionally - every few days :( I believe it is somewhat connected with our network environment which suffers from some packet loss which leads to connection timeouts. I can switch on some

Re: permanent ZSESSIONMOVED

2010-03-16 Thread Łukasz Osipiuk
On Tue, Mar 16, 2010 at 19:22, Patrick Hunt ph...@apache.org wrote: Łukasz Osipiuk wrote: On Tue, Mar 16, 2010 at 17:18, Patrick Hunt ph...@apache.org wrote: Can you verify that you are using 3.2.2 on all servers? You can do this by running the stat command against each of your servers

Re: permanent ZSESSIONMOVED

2010-03-16 Thread Łukasz Osipiuk
out what was the role of each node when problem occurred? Does zookeeper server log when node state changes between follower and leader. Or can I make it log it? Regards, Łukasz -- -- Łukasz Osipiuk mailto:luk...@osipiuk.net

c client - problem with failover

2009-08-28 Thread Łukasz Osipiuk
Hi! I my name is Łukasz Osipiuk. I am working for one of major Polish Internet companies. In one of our projects we are intensively using Zookeeper as distributed locking system. We implemented slightly modified locking algorithm from zookeeper docs page. (http://hadoop.apache.org/zookeeper/docs