Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 61458 invoked from network); 6 Jul 2009 20:53:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jul 2009 20:53:03 -0000 Received: (qmail 26701 invoked by uid 500); 6 Jul 2009 20:53:13 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 26653 invoked by uid 500); 6 Jul 2009 20:53:13 -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 26639 invoked by uid 99); 6 Jul 2009 20:53:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 20:53:13 +0000 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 (nike.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; Mon, 06 Jul 2009 20:53:04 +0000 Received: from [10.73.152.1] (snvvpn1-10-73-152-c1.hq.corp.yahoo.com [10.73.152.1]) (authenticated bits=0) by rsmtp2.corp.yahoo.com (8.13.8/8.13.8/y.rout) with ESMTP id n66KqcvK005661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Jul 2009 13:52:39 -0700 (PDT) Message-ID: <4A526415.20401@apache.org> Date: Mon, 06 Jul 2009 13:52:37 -0700 From: Patrick Hunt User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: zookeeper-user@hadoop.apache.org Subject: Re: zookeeper on ec2 References: <53110890-B6E7-45A9-ABBC-85D110192A1D@28msec.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ted thanks for the info. I've created a wiki page http://wiki.apache.org/hadoop/ZooKeeper/ZooKeeperOnEC2 to capture details of running ZK on EC2. If you or anyone else would like to update it with information please do so. Regards, Patrick Ted Dunning wrote: > I disagree with the original post that this is a problem, even in EC2. > Having the persistent copy on disk is exactly what makes the rolling restart > work so well. > > I think that the misunderstanding is that this on-disk image is critical to > cluster function. It is not critical because it is replicated to all > cluster members. This means that any member can disappear and a new > instance can replace it with no big cost other than the temporary load of > copying the current snapshot from some cluster member. > > On Mon, Jul 6, 2009 at 11:33 AM, Mahadev Konar wrote: > >> In the documentation of zookeeper, I have read that >>> zookeeper saves snapshots of the in-memory data in the file system. Is >>> that needed for recovery? Logically, it would be much easier for me if >>> this is not the case. >> Yes, zookeeper keeps persistent state on disk. This is used for recovery >> and >> correctness of zookeeper. >