RE: closing session on socket close vs waiting for timeout

2010-09-10 Thread Fournier, Camille F. [Tech]
: Benjamin Reed [mailto:br...@yahoo-inc.com] Sent: Wednesday, September 08, 2010 4:03 PM To: zookeeper-user@hadoop.apache.org Subject: Re: closing session on socket close vs waiting for timeout unfortunately, that only works on the standalone server. ben On 09/08/2010 12:52 PM, Fournier, Camille

Re: closing session on socket close vs waiting for timeout

2010-09-10 Thread Benjamin Reed
@hadoop.apache.org Cc: Benjamin Reed Subject: Re: closing session on socket close vs waiting for timeout This really is, just as Ben says a problem of false positives and false negatives in detecting session expiration. On the other hand, the current algorithm isn't really using all the information

Re: closing session on socket close vs waiting for timeout

2010-09-10 Thread Benjamin Reed
] Sent: Wednesday, September 08, 2010 4:03 PM To: zookeeper-user@hadoop.apache.org Subject: Re: closing session on socket close vs waiting for timeout unfortunately, that only works on the standalone server. ben On 09/08/2010 12:52 PM, Fournier, Camille F. [Tech] wrote: This would be the ideal

RE: closing session on socket close vs waiting for timeout

2010-09-10 Thread Fournier, Camille F. [Tech]
To: Fournier, Camille F. [Tech] Cc: 'zookeeper-user@hadoop.apache.org' Subject: Re: closing session on socket close vs waiting for timeout the problem is that followers don't track session timeouts. they track when they last heard from the sessions that are connected to them

Re: closing session on socket close vs waiting for timeout

2010-09-10 Thread Ted Dunning
A switch failure could do that, I think. On Fri, Sep 10, 2010 at 1:49 PM, Fournier, Camille F. [Tech] camille.fourn...@gs.com wrote: I am not a networking expert, but in my experience I've seen network glitches that cause sockets to appear to be live that are actually dead, but not

RE: closing session on socket close vs waiting for timeout

2010-09-08 Thread Fournier, Camille F. [Tech]
of actual code in this email) -Original Message- From: Ted Dunning [mailto:ted.dunn...@gmail.com] Sent: Tuesday, September 07, 2010 1:11 PM To: zookeeper-user@hadoop.apache.org Cc: Benjamin Reed Subject: Re: closing session on socket close vs waiting for timeout This really is, just as Ben

Re: closing session on socket close vs waiting for timeout

2010-09-08 Thread Benjamin Reed
@hadoop.apache.org Cc: Benjamin Reed Subject: Re: closing session on socket close vs waiting for timeout This really is, just as Ben says a problem of false positives and false negatives in detecting session expiration. On the other hand, the current algorithm isn't really using all the information available

Re: closing session on socket close vs waiting for timeout

2010-09-08 Thread Ted Dunning
(forgive lack of actual code in this email) -Original Message- From: Ted Dunning [mailto:ted.dunn...@gmail.com] Sent: Tuesday, September 07, 2010 1:11 PM To: zookeeper-user@hadoop.apache.org Cc: Benjamin Reed Subject: Re: closing session on socket close vs waiting for timeout

RE: closing session on socket close vs waiting for timeout

2010-09-08 Thread Fournier, Camille F. [Tech]
. Thanks, C -Original Message- From: Ted Dunning [mailto:ted.dunn...@gmail.com] Sent: Wednesday, September 08, 2010 4:51 PM To: zookeeper-user@hadoop.apache.org Subject: Re: closing session on socket close vs waiting for timeout To get it to work in a cluster, what would be necessary

Re: closing session on socket close vs waiting for timeout

2010-09-07 Thread Patrick Hunt
, August 31, 2010 1:14 PM To: zookeeper-user@hadoop.apache.org Subject: Re: closing session on socket close vs waiting for timeout I think he's saying that if the socket closes because of a crash (i.e. not a normal zookeeper close request) then the session stays alive until the session timeout

Re: closing session on socket close vs waiting for timeout

2010-09-06 Thread Benjamin Reed
for. Thanks, Camille -Original Message- From: Dave Wright [mailto:wrig...@gmail.com] Sent: Tuesday, August 31, 2010 1:14 PM To: zookeeper-user@hadoop.apache.org Subject: Re: closing session on socket close vs waiting for timeout I think he's saying that if the socket closes because of a crash

Re: closing session on socket close vs waiting for timeout

2010-09-01 Thread Benjamin Reed
To: zookeeper-user@hadoop.apache.org Subject: Re: closing session on socket close vs waiting for timeout I think he's saying that if the socket closes because of a crash (i.e. not a normal zookeeper close request) then the session stays alive until the session timeout, which is of course true since

Re: closing session on socket close vs waiting for timeout

2010-09-01 Thread Patrick Hunt
: closing session on socket close vs waiting for timeout I think he's saying that if the socket closes because of a crash (i.e. not a normal zookeeper close request) then the session stays alive until the session timeout, which is of course true since ZK allows reconnection and resumption

Re: closing session on socket close vs waiting for timeout

2010-08-31 Thread Dave Wright
I think he's saying that if the socket closes because of a crash (i.e. not a normal zookeeper close request) then the session stays alive until the session timeout, which is of course true since ZK allows reconnection and resumption of the session in case of disconnect due to network issues.

RE: closing session on socket close vs waiting for timeout

2010-08-31 Thread Fournier, Camille F. [Tech]
-Original Message- From: Dave Wright [mailto:wrig...@gmail.com] Sent: Tuesday, August 31, 2010 1:14 PM To: zookeeper-user@hadoop.apache.org Subject: Re: closing session on socket close vs waiting for timeout I think he's saying that if the socket closes because of a crash (i.e