Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@locus.apache.org Received: (qmail 16650 invoked from network); 7 Jan 2009 20:36:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 20:36:25 -0000 Received: (qmail 71051 invoked by uid 500); 7 Jan 2009 20:36:25 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 71040 invoked by uid 500); 7 Jan 2009 20:36:25 -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 71029 invoked by uid 99); 7 Jan 2009 20:36:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 12:36:25 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of burtonator@gmail.com designates 72.14.246.251 as permitted sender) Received: from [72.14.246.251] (HELO ag-out-0708.google.com) (72.14.246.251) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 20:36:16 +0000 Received: by ag-out-0708.google.com with SMTP id 9so6304655agd.9 for ; Wed, 07 Jan 2009 12:35:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=Iz6RttOjDAMYN5OvQWkxjIkbVUmtnejn7C/5cKWOutk=; b=Wf4H5vCn66n3P5rj+I7/roox01WnQusQ88QQ5p/2YnbGCqJZY+f3lLTerkUJnwnQVJ Z6MDE9RYL4NElSNM26R3dETn37zBz84N/5K+Wh+TOVTRrln4+8o/v5MTy3C1BFMV4T8E hCnivztUMTfM1CxsD+GjiV+OBzPyqk7PP1Wq4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=wmnbk0UiqEsgdrOl+ChrOmrkogl19lz/+kt8k5ZxSgVqLWUkOeyycLxzBdg+3tGMCF 57j97kSfIfZsabxeGMTj5+CvhSBdumb65du+kiU/m/dKBD+tbFTmQVuweXGz1WhFvQ78 8LJ9KKOuFtHLZMF6a3VL/wuDFLNHANiFAJ334= Received: by 10.90.35.9 with SMTP id i9mr11069856agi.35.1231360555121; Wed, 07 Jan 2009 12:35:55 -0800 (PST) Received: by 10.90.98.6 with HTTP; Wed, 7 Jan 2009 12:35:55 -0800 (PST) Message-ID: <30c6373b0901071235l435bf6b1pf69916dae9959543@mail.gmail.com> Date: Wed, 7 Jan 2009 12:35:55 -0800 From: "Kevin Burton" Sender: burtonator@gmail.com To: zookeeper-user@hadoop.apache.org Subject: Re: Reconnecting to another host on failure but before session expires... In-Reply-To: <6990D2A1CAF07E40A7CFE68A5FAAA15317F9B9B5BC@SP1-EX07VS02.ds.corp.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13640_22481539.1231360555127" References: <30c6373b0901042048q68a474e7w9e2fff4be4013204@mail.gmail.com> <30c6373b0901042049h28150039s9bcd0cb4d3c6480c@mail.gmail.com> <30c6373b0901050003r272455e8g75418fa43aae5fed@mail.gmail.com> <88698E6D-9AFF-4762-8D14-ED5BAE570867@collarity.com> <155FBD67-2A2D-4731-9129-483B82254E3F@yahoo-inc.com> <30c6373b0901050954w60d9e4ccncaf3b47a5182adcb@mail.gmail.com> <49625329.8090407@sun.com> <30c6373b0901060902y54990539k8ed2cecfa60924d4@mail.gmail.com> <4964D9C9.6090804@sun.com> <6990D2A1CAF07E40A7CFE68A5FAAA15317F9B9B5BC@SP1-EX07VS02.ds.corp.yahoo.com> X-Google-Sender-Auth: 10aa9c9e57cb92fa X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13640_22481539.1231360555127 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I like this idea.... though if that URL vanishes you can't connect to ZK. The bootstrap problem is hard. Another issue is adding more ensembles without reconfiguring all clients. It might be nice to connect to a 'profile' and have the client persist hosts in that profile. This way you can new machines (ZK servers) to the profile, wait for all ZK nodes to DL the new profile, then safely shutdown the old machines. The local ZK nodes would need some type of local persistent storage though. Kevin On Wed, Jan 7, 2009 at 9:05 AM, Benjamin Reed wrote: > Using a string gives us some flexibility. There is an outstanding issue to > be able to pass in a URL: http://aeoueu/oeueue, the idea being that we > pull down the content to get the list of servers and ports. > -- Founder/CEO Spinn3r.com Location: San Francisco, CA AIM/YIM: sfburtonator Skype: burtonator Work: http://spinn3r.com ------=_Part_13640_22481539.1231360555127--