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 0A32B101EB for ; Thu, 12 Dec 2013 02:10:30 +0000 (UTC) Received: (qmail 76120 invoked by uid 500); 12 Dec 2013 02:10:27 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 76077 invoked by uid 500); 12 Dec 2013 02:10:27 -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 76069 invoked by uid 99); 12 Dec 2013 02:10:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 02:10:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.212.170] (HELO mail-wi0-f170.google.com) (209.85.212.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 02:10:21 +0000 Received: by mail-wi0-f170.google.com with SMTP id hq4so106403wib.3 for ; Wed, 11 Dec 2013 18:10:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=fl4+5TeeatVvQMAscfiP3pafRxKl5ucnn6oas4K8W1s=; b=h79NRYzf3PDCYmXgUbVPd5Z323JTVaqTaa16bCLmxiP93kseqivKo5yNM+mI9lPJTj VfbJwB6qDXbLH5Kqnck+gElvgAHCocwfqkkoKOHKBIiv36qR+HvPZ91XPfr5MuQZhcwp 0/mqWhkPUcE6ejwEyZGcmEg+x9q4I3XmeS3LVtLMxtgXcITkG1OtSSywXBLQ7dbmMjRD f0XnsQPAMEFne6tq6XU5M9jI0DwsziAY+ZmrrBZ1SxLlNqdwQknJ0kZCsmVJuic7+fbO K+Uq4bitVt5V8Bqn714Li538Z/L9VPLSCIqWuNoXY0XPhksuMuKizzrg9P+ed3/Zub0v 3rOQ== X-Gm-Message-State: ALoCoQlIbDpXBF9AG7BH4vqtsK7Po+vlzrruREZBkKfFsDUbBCbUQOTn5OniePfewvtnH4lCf/eu MIME-Version: 1.0 X-Received: by 10.180.187.72 with SMTP id fq8mr26955940wic.26.1386814200640; Wed, 11 Dec 2013 18:10:00 -0800 (PST) Received: by 10.194.151.169 with HTTP; Wed, 11 Dec 2013 18:10:00 -0800 (PST) In-Reply-To: References: Date: Thu, 12 Dec 2013 13:10:00 +1100 Message-ID: Subject: Re: nodetool repair keeping an empty cluster busy From: Sven Stark To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11c2679ccd900c04ed4cd7a6 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2679ccd900c04ed4cd7a6 Content-Type: text/plain; charset=ISO-8859-1 Thanks Rob. Well, I ran the repair only against the empty keyspace. C* version is 1.2.8. I guess I'll try to recreate it some time next week on two or three test hosts and if the same behaviour occurs I'll file a bug report. Cheers, Sven On Thu, Dec 12, 2013 at 12:58 PM, Robert Coli wrote: > On Wed, Dec 11, 2013 at 1:35 AM, Sven Stark wrote: > >> thanks for replying. Could you please be a bit more specific, though. Eg >> what exactly is being compacted - there is/was no data at all in the >> cluster save for a few hundred kB in the system CF (see the nodetool status >> output). Or - how can those few hundred kB in data generate Gb of network >> traffic? >> > > The only answer I can come up with is that the Merkle trees generated and > compared by repair are of a fixed size, and don't scale with the data > present in the cluster. While I'm pretty sure each node can be aware that > it has little to no data to repair, it generates and compares the trees > anyway. It's a bit surprising that this might be Gbs of network traffic... > > The system keyspace will always have some data in it, have you tried only > compacting your empty keyspace instead of the whole node? > > If so, and it exhibits the same behavior, that seems like a bug or at > least unexpected behavior to me. If you're running a modern version of > Cassandra, I would file a JIRA. > > =Rob > > --001a11c2679ccd900c04ed4cd7a6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks Rob.

Well, I ran the repair only= against the empty keyspace. C* version is 1.2.8. I guess I'll try to r= ecreate it some time next week on two or three test hosts and if the same b= ehaviour occurs I'll file a bug report.

Cheers,
Sven
--001a11c2679ccd900c04ed4cd7a6--