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 54DDF10FA2 for ; Thu, 11 Jul 2013 20:53:31 +0000 (UTC) Received: (qmail 74738 invoked by uid 500); 11 Jul 2013 20:53:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74690 invoked by uid 500); 11 Jul 2013 20:53:28 -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 74682 invoked by uid 99); 11 Jul 2013 20:53:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 20:53:28 +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: domain of kohlisankalp@gmail.com designates 209.85.128.44 as permitted sender) Received: from [209.85.128.44] (HELO mail-qe0-f44.google.com) (209.85.128.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 20:53:23 +0000 Received: by mail-qe0-f44.google.com with SMTP id 5so4788184qeb.3 for ; Thu, 11 Jul 2013 13:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=g44AnEXWppH2uKAXIC+Hv1LyKlosI3gMaDmeHhhB6do=; b=GThBtgWdUgcIvM5b7hzjKYxOZmmXryH7Wl1dNmTfBGssMS/VpA2EtQGrinBBa/z0l9 8aFQwV05eNH8GbjaL0CzWMnqLdUMQa9bN7nE1Yl86Fy6+Ffh8RBW+Okb4xdet43spqTk /arA+m4aHcuohf0T5jOm94WOexMcJorDTModM+nWqdewYESIXpWFeqpLpN94H2IC6UIa c94yqjjhNtBjXwetcODEXqn1Mciytj9MyyhQzlXxEWkIeJDYtBJRzChTX25PkSjNxmYh 3PNe7MzDu8f5MTay3qZVOlD31n/cRpNEu8jairsKVgkzl30bz8+HAF2xhIT5dmnPiOUs Ac4Q== X-Received: by 10.49.71.203 with SMTP id x11mr31647453qeu.95.1373575982493; Thu, 11 Jul 2013 13:53:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.0.171 with HTTP; Thu, 11 Jul 2013 13:52:22 -0700 (PDT) In-Reply-To: References: <20130711183939.GH2306@quantcast.com> From: sankalp kohli Date: Thu, 11 Jul 2013 13:52:22 -0700 Message-ID: Subject: Re: merge sstables To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b6dc47482361304e1429421 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6dc47482361304e1429421 Content-Type: text/plain; charset=ISO-8859-1 Scrub will keep the file size same. YOu need to move all sstables to be L0. the way to do this is to remove the json file which has level information. On Thu, Jul 11, 2013 at 11:48 AM, chandra Varahala < hadoopandcassandra@gmail.com> wrote: > yes, but nodetool scrub is not working .. > > > thanks > chandra > > > On Thu, Jul 11, 2013 at 2:39 PM, Faraaz Sareshwala < > fsareshwala@quantcast.com> wrote: > >> I assume you are using the leveled compaction strategy because you have >> 5mb >> sstables and 5mb is the default size for leveled compaction. >> >> To change this default, you can run the following in the cassandra-cli: >> >> update column family cf_name with compaction_strategy_options = >> {sstable_size_in_mb: 256}; >> >> To force the current sstables to be rewritten, I think you'll need to >> issue a >> nodetool scrub on each node. Someone please correct me if I'm wrong on >> this. >> >> Faraaz >> >> On Thu, Jul 11, 2013 at 11:34:08AM -0700, chandra Varahala wrote: >> > Hello , >> > >> > I have small size of sstables like 5mb around 2000 files. Is there a >> way i can >> > merge into bigger size ? >> > >> > thanks >> > chandra >> > > --047d7b6dc47482361304e1429421 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Scrub will keep the file size same. YOu need to move all s= stables to be L0. the way to do this is to remove the json file which has l= evel information.=A0
--047d7b6dc47482361304e1429421--