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 DCC9F6610 for ; Sun, 31 Jul 2011 23:08:09 +0000 (UTC) Received: (qmail 20323 invoked by uid 500); 31 Jul 2011 23:08:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 20183 invoked by uid 500); 31 Jul 2011 23:08:07 -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 20175 invoked by uid 500); 31 Jul 2011 23:08:07 -0000 Delivered-To: apmail-incubator-cassandra-user@incubator.apache.org Received: (qmail 20172 invoked by uid 99); 31 Jul 2011 23:08:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jul 2011 23:08:06 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of mohitanchlia@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jul 2011 23:08:00 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Qnf6h-0004WN-PT for cassandra-user@incubator.apache.org; Sun, 31 Jul 2011 16:07:39 -0700 Date: Sun, 31 Jul 2011 16:07:39 -0700 (PDT) From: mcasandra To: cassandra-user@incubator.apache.org Message-ID: <1312153659782-6639317.post@n2.nabble.com> In-Reply-To: References: <1312132674399-6638649.post@n2.nabble.com> Subject: Re: how to solve one node is in heavy load in unbalanced cluster MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org springrider wrote: > > is that okay to do nodetool move before a completely repair? > > using this equation? > def tokens(nodes): > > - for x in xrange(nodes): > - print 2 ** 127 / nodes * x > Yes use that logic to get the tokens. I think it's safe to run move first and reair later. You are moving some nodes data as is so it's no worse than what you have right now. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/how-to-solve-one-node-is-in-heavy-load-in-unbalanced-cluster-tp6630827p6639317.html Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.