Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 65050 invoked from network); 2 Aug 2010 14:31:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 14:31:21 -0000 Received: (qmail 19492 invoked by uid 500); 2 Aug 2010 14:31:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 19215 invoked by uid 500); 2 Aug 2010 14:31:17 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 19207 invoked by uid 99); 2 Aug 2010 14:31:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 14:31:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edlinuxguru@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 14:31:09 +0000 Received: by vws10 with SMTP id 10so2098367vws.31 for ; Mon, 02 Aug 2010 07:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ik8kybx8wFYJHW9fBtkj5EmuoxBe351f0IJbwTP4JuM=; b=kUnh0bs7oAsQM6WUv1wg+9eb5VTqq2skwtzW92FP1X9xYVT05FmBmDCdJA4/aAqN3X zjXlGNMjvMksC8PpdB/qj4RxRy1lOEv5rfRCkvDgbqft8h8AZjcYI32pgK9DBoQp+sB0 Q5KEuGykNnHJ/AGywsNCtbYojzeeycXG4WpB8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=n5R38+iFOlbWTgYsDioGdXE817U2IiBPxwgD/U+oVjW6LLrol//QL6KR8iBPWgQ3DY vuquphDAhgfSiGt+8NfOtTYcPe/nxsY8KTVdw3SzMpRJGzM5yUflYohfPUHhZ0f9r4qB T/iHSvZaigb4e5KWvmsJptmGA8/cd6ed+3AoM= MIME-Version: 1.0 Received: by 10.220.158.71 with SMTP id e7mr4318272vcx.124.1280759447014; Mon, 02 Aug 2010 07:30:47 -0700 (PDT) Received: by 10.220.171.193 with HTTP; Mon, 2 Aug 2010 07:30:46 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Aug 2010 10:30:46 -0400 Message-ID: Subject: Re: how to recover cassandra data From: Edward Capriolo To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Aug 2, 2010 at 9:11 AM, john xie wrote: > ReplicationFactor =3D 3 > one day i stop 192.168.1.147 and remove cassandra data by mistake, can i > recover =A0192.168.1.147's cassadra data by restart cassandra ? > > > =A0=A0 > =A0=A0 =A0 =A0 =A0/data1/cassandra/ > =A0=A0 =A0 =A0 =A0/data2/cassandra/ > =A0=A0 =A0 =A0 =A0/data3/cassandra/ > =A0=A0 =A0 > /data3 =A0mount =A0/dev/sdd > i remove /data3 and =A0formatt /dev/sdd > > Address =A0 =A0 =A0 Status =A0 =A0 Load =A0 =A0 =A0 =A0 =A0Range > =A0 =A0 =A0Ring > > 135438270110006521520577363629178401179 > 192.168.1.148 Up =A0 =A0 =A0 =A0 50.38 GB > =A052435029392953385124849742453833332898 =A0 =A0 |<--| > 192.168.1.145 Up =A0 =A0 =A0 =A0 48.38 GB > =A063161078970569359253391371326773726097 =A0 =A0 | =A0 | > 192.168.1.147 ? =A0 =A0 =A0 =A0 =A023.5 GB > 79546317728707787532885001681404757282 =A0 =A0 | =A0 | > 192.168.1.146 Up =A0 =A0 =A0 =A0 26.34 GB > =A0135438270110006521520577363629178401179 =A0 =A0|-->| > > > > > > Since you have a replication factor of three if you bring a new node through auto-bootstrap data will migrate back to it since it has two copies. Nothing is lost.