Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C26CD10185 for ; Wed, 3 Jul 2013 17:11:13 +0000 (UTC) Received: (qmail 5917 invoked by uid 500); 3 Jul 2013 17:11:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 5741 invoked by uid 500); 3 Jul 2013 17:11:11 -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 5733 invoked by uid 99); 3 Jul 2013 17:11:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 17:11:10 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gatman1001@gmail.com designates 209.85.212.51 as permitted sender) Received: from [209.85.212.51] (HELO mail-vb0-f51.google.com) (209.85.212.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 17:11:05 +0000 Received: by mail-vb0-f51.google.com with SMTP id x17so315753vbf.38 for ; Wed, 03 Jul 2013 10:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=r3lFNBe4YAA5N3EYw/cr5eKyHFZDltPlgilFxiuQ4Fo=; b=R9AMbDu/VRsqPFvh3rrLQSPDj3g0utvxoExbG66IHgrctF/cF3VwVoWH9GC62inEgK mVCsp7MJ4WjkdmzbDJoYL7gow1iIObDueY8b3aFHNozHkyqrITPRokpkVZN+PNc4gChb 4D3aLPHrRyx9PCw1a2dkmWrmaKcQlqwoBHZr7fn1mzImfJVTfveY1W57HhzHMVxJtZSv P1gzmbCYqA1B6rIP/pXKsRWCS5JX7wc+DbzcZ5Z/UxfVBi2bXNZ00LuGIJzuUhYcAV0f RKicjCZ3kPEQRq5WEdAuX1jY44+NP3SIP5JeAt0BlZZ9hIMfCLy4EX4tdahEHVDuvhil qoXA== MIME-Version: 1.0 X-Received: by 10.52.249.9 with SMTP id yq9mr465210vdc.93.1372871444506; Wed, 03 Jul 2013 10:10:44 -0700 (PDT) Received: by 10.221.50.131 with HTTP; Wed, 3 Jul 2013 10:10:44 -0700 (PDT) In-Reply-To: References: <93fa6a475304c9d60e1f9a321c76a2b7@team.enercast.de> Date: Wed, 3 Jul 2013 11:10:44 -0600 Message-ID: Subject: Re: CorruptBlockException - recover? From: Glenn Thompson To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=089e0153688cc5b11d04e09e8a30 X-Virus-Checked: Checked by ClamAV on apache.org --089e0153688cc5b11d04e09e8a30 Content-Type: text/plain; charset=ISO-8859-1 For what its worth. I did this when I had this problem. It didn't work out for me. Perhaps I did something wrong. On Wed, Jul 3, 2013 at 11:06 AM, Robert Coli wrote: > On Wed, Jul 3, 2013 at 7:04 AM, ifjke wrote: > >> I found that one of my cassandra nodes died recently (machine hangs). I >> restarted the node an run a nodetool repair, while running it has thrown a >> org.apache.cassandra.io.**compress.**CorruptBlockException. Is there any >> way to recover from this? Or would it be best to delete the nodes contents >> and bootstrap it again? >> > > If you "scrub" this SSTable (either with the online or offline version of > "scrub") it will remove the corrupt data and re-write the rest of the > SSTable which isn't corrupt into a new SSTable. That is probably safer for > your data than deleting the entire set of data on this replica. When that's > done, restart the repair. > > =Rob > --089e0153688cc5b11d04e09e8a30 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
For what its worth. =A0I did this when I had this problem.= =A0It didn't work out for me. =A0Perhaps I did something wrong.
<= div class=3D"gmail_extra">

On Wed, Jul 3,= 2013 at 11:06 AM, Robert Coli <rcoli@eventbrite.com> wro= te:
On Wed, J= ul 3, 2013 at 7:04 AM, ifjke <j.kesten@enercast.de> wrote= :
I found that one of my cassandra nodes died = recently (machine hangs). I restarted the node an run a nodetool repair, wh= ile running it has thrown a org.apache.cassandra.io.compress.CorruptBlo= ckException. Is there any way to recover from this? Or would it be best to = delete the nodes contents and bootstrap it again?

If you "scrub" this SSTabl= e (either with the online or offline version of "scrub") it will = remove the corrupt data and re-write the rest of the SSTable which isn'= t corrupt into a new SSTable. That is probably safer for your data than del= eting the entire set of data on this replica. When that's done, restart= the repair.

=3DRob

--089e0153688cc5b11d04e09e8a30--