Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@locus.apache.org Received: (qmail 54406 invoked from network); 7 Jan 2009 18:16:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 18:16:35 -0000 Received: (qmail 12115 invoked by uid 500); 7 Jan 2009 18:16:35 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 12102 invoked by uid 500); 7 Jan 2009 18:16:35 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 12087 invoked by uid 99); 7 Jan 2009 18:16:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 10:16:35 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.126.228.150] (HELO rsmtp2.corp.yahoo.com) (207.126.228.150) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 18:16:28 +0000 Received: from [10.72.76.40] (snvvpn2-10-72-76-c40.hq.corp.yahoo.com [10.72.76.40]) (authenticated bits=0) by rsmtp2.corp.yahoo.com (8.13.8/8.13.8/y.rout) with ESMTP id n07IFt9x004506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jan 2009 10:15:55 -0800 (PST) Message-ID: <4964F15B.70801@apache.org> Date: Wed, 07 Jan 2009 10:15:55 -0800 From: Patrick Hunt User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: zookeeper-user@hadoop.apache.org Subject: Re: Can ConnectionLossException be thrown when using multiple hosts? References: <30c6373b0901061958t1ad4c666p40fd751616e6b021@mail.gmail.com> In-Reply-To: <30c6373b0901061958t1ad4c666p40fd751616e6b021@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org There are basically 2 cases where you can see connectionloss: 1) you call an operation on a session that is no longer alive 2) you are disconnected from a server when there are pending async operations to that server (you made an async request which has not yet completed) Patrick Kevin Burton wrote: > Can this be thrown when using multiple servers as long as > 1 of them is > online? > Trying to figure out of I should try some type of reconnect if a single > machine fails instead of failing altogether. > > Kevin >