From user-return-34550-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Jun 10 21:00:33 2013 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 A4BBE108B5 for ; Mon, 10 Jun 2013 21:00:33 +0000 (UTC) Received: (qmail 91180 invoked by uid 500); 10 Jun 2013 21:00:31 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 91155 invoked by uid 500); 10 Jun 2013 21:00:31 -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 91147 invoked by uid 99); 10 Jun 2013 21:00:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 21:00:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.109.114.159] (HELO nm41-vm4.bullet.mail.bf1.yahoo.com) (216.109.114.159) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 21:00:23 +0000 Received: from [98.139.212.151] by nm41.bullet.mail.bf1.yahoo.com with NNFMP; 10 Jun 2013 21:00:01 -0000 Received: from [98.139.212.232] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 10 Jun 2013 21:00:01 -0000 Received: from [127.0.0.1] by omp1041.mail.bf1.yahoo.com with NNFMP; 10 Jun 2013 21:00:01 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 759495.83622.bm@omp1041.mail.bf1.yahoo.com Received: (qmail 27620 invoked by uid 60001); 10 Jun 2013 21:00:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370898001; bh=PH4KrQhjZ7JwjAO8aI7KvGXa8LtsSM44hdBfQzqHD64=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Gj430hVWUG5lFhaHqqcOJjjLnv1VBAwCNv0/XTgNeRS7kqjmvIJsG89t02nuFaiOQd04CdeHgHEDgEz/YgIHl9/CH0GOXuBPGxhZ01SLyO0GI6dAk+6AG1/d+PXTodUpLZ/DdFSjeAhOSNbhY3aMNbXaBprL8NKLpPUUI6ki/a8= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=2SKJT1t9cKxIS8MLFJmBU20CASS51RgupdBgoBNVHxDBKGshVu0Sv6XM0hsA0nM3S14NtxFGh7g5UDxolufX8KJv4suQgPQ52JR0/ZC2AMve/jZvhPssRLahcySZhk5+fouaVX1muzYAm+F/QIEsncekTNghyTCAfnevZp3mrtk=; X-YMail-OSG: ajTj8ZEVM1lBu3n6hmYRHWMkLuGNDOoWTh_QIvTXtxxAEPT biqzg_O5MJt_G3CV.6pkiXfVbsc9iv75tQOW1w92RkdPRbg9b15mQ5E.KbMk C8UQIo.yrQatOhCRLf0m2ND.fb5R304uFUb9CHDmzlfOXgVBC8A12ZvVjDKY A5uvqxt_J.LyHoTe0yKA92IAvGGq.7.VH8O5vqECojkTsIW1msgJyjIRzbgJ p4V8w7I5wdgIqyZZRDUa5aodPl3Stw7lu.cIbk2_QX51fsdoPN_qf_bCfkqV WKndtD5jTBynAbnLtoDn.zYkmKOfHzwpUG0LCcyctwPEYOVuByWb3Z4X3k3U 9MU.KMrEoOebmN6moANM.IpWMu6DZb0J0VFE_d2OcKgDVgWdUvklOAnD_vXw 4FhR0vW5KgNpmfBrFczmUrx7Ef8tufxZo7eQTl_JdakYee3.pS0uBU426WWO wkTuE2yTwEOyIl4ldzz.4XRhj7W2v7WCJUNzY8QPnPeh0e6H0WWtTsPUudxj lOg3Z8l7NivPOyn.Nxhq.ApwQ6L9mXkH9B8YbtuWfCISu26zLfXKoGfZL8VZ Xdk3STdC7NynOQ.5HXvPxp.4CI.6QJWpTUpo2Yuf96o4hqsRGGLWmybeTq4K AI8SeOZPuNVVhwLpy8i6Y2suS1uG8lQHsAKNhZPJPF7eM2J_13YY4Ng-- Received: from [198.95.226.40] by web162005.mail.bf1.yahoo.com via HTTP; Mon, 10 Jun 2013 14:00:00 PDT X-Rocket-MIMEInfo: 002.001,SGkgQWxsLAoKRGF0YXN0YXggbWFudWFsIHN1Z2dlc3RzIHRoYXQgZHVyaW5nIGEgQ2Fzc2FuZHJhIGNsdXN0ZXIgZXhwYW5zaW9uLCBhbiBhZG1pbmlzdHJhdG9yIGhhcyB0byBydW4gbm9kZXRvb2wgY2xlYW51cCBvbiBlYWNoIG9mIHRoZSBwcmV2aW91c2x5IGV4aXN0aW5nIENhc3NhbmRyYSBub2RlcyB0byByZW1vdmUgdGhlIGtleXMgdGhhdCBhcmUgbm8gbG9uZ2VyIGJlbG9uZ2luZyB0byB0aG9zZSBub2Rlcy4gRnVydGhlciB0aGUgbWFudWFsIHNheXMgdGhhdCB0aGVub2RldG9vbCBjbGVhbnVwIMKgdGEBMAEBAQE- X-Mailer: YahooMailWebService/0.8.146.552 References: <1372322D3525455AA2CEAEC5E159FEB4@gmail.com> <6A747AD830B9440EA4669ACC8072599A@gmail.com> Message-ID: <1370898000.27157.YahooMailNeo@web162005.mail.bf1.yahoo.com> Date: Mon, 10 Jun 2013 14:00:00 -0700 (PDT) From: Emalayan Vairavanathan Reply-To: Emalayan Vairavanathan Subject: [Cassandra] Expanding a Cassandra cluster To: "user@cassandra.apache.org" In-Reply-To: <6A747AD830B9440EA4669ACC8072599A@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1328350513-1174387618-1370898000=:27157" X-Virus-Checked: Checked by ClamAV on apache.org ---1328350513-1174387618-1370898000=:27157 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,=0A=0ADatastax manual suggests that during a Cassandra cluster expan= sion, an administrator has to run nodetool cleanup on each of the previousl= y existing Cassandra nodes to remove the keys that are no longer belonging = to those nodes. Further the manual says that thenodetool cleanup =A0task sh= ould be run sequentially on the existing Cassandra nodes.=0A=0AReference:= =A0http://www.datastax.com/docs/1.2/operations/add_replace_nodes#adding-cap= acity=0A=0AHere is my problem: I have a very large Cassandra cluster with 1= 00s of nodes and running nodetool cleanup=A0sequentially will take a long t= ime to finish.=A0=0A=0A=A0Questions: a) So can someone tell me =A0about the= implications of running the nodetool cleanup concurrently on the entire cl= uster ?=0A=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0b) Will Cassandra automati= cally take care of removing obsolete keys in future ?=0A=0A=0AThank you=0AE= malayan=A0 ---1328350513-1174387618-1370898000=:27157 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All,

Datastax manual suggests that during a Cassandra c= luster expansion, an administrator has to run nodetool cleanup on each of the previously existing Cassandra = nodes to remove the keys that are no longer belonging to those nodes. Furth= er the manual says that the nodetool cle= anup  task should be run sequentially on the existing Cassandra= nodes.

Reference: http:= //www.datastax.com/docs/1.2/operations/add_replace_nodes#adding-capacity

Here is my problem: I have a very la= rge Cassandra cluster with 100s of nodes and running nodetool cleanup sequentially will take a long tim= e to finish. 

 Questions: = a) So can someone tell me  about the implications of running the nodetool cleanup concurrently on the e= ntire cluster ?
           =        b) Will Cassandra automatically take care of re= moving obsolete keys in future ?


Thank you
Emalayan 
=
---1328350513-1174387618-1370898000=:27157--