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 408FD7D46 for ; Sun, 7 Aug 2011 08:30:28 +0000 (UTC) Received: (qmail 18969 invoked by uid 500); 7 Aug 2011 08:30:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 18548 invoked by uid 500); 7 Aug 2011 08:30:08 -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 18537 invoked by uid 99); 7 Aug 2011 08:30:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Aug 2011 08:30:05 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of springrider@gmail.com designates 209.85.215.44 as permitted sender) Received: from [209.85.215.44] (HELO mail-ew0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Aug 2011 08:29:58 +0000 Received: by ewy19 with SMTP id 19so634462ewy.31 for ; Sun, 07 Aug 2011 01:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gMnKJDSxTGywCJfTM93S1HsqLDwS3XSOYtoFXn6qph8=; b=oFdDKwcot78umyEvtZdqNJ/aR7p1xYRS2356Qsp9SvLbiQ4Flm03A5Cc3hCbCYe18L FSQau5UsD2zvvpvVG/DfVEn7OdwCIgLk4d+QO9qb2yWSiIPnfXU2rFyGaeRuUuyzK4ld uciPG/lgnrbSmV+EB4akDpalTV/ZpUY8n93L4= Received: by 10.213.25.73 with SMTP id y9mr712775ebb.101.1312705777263; Sun, 07 Aug 2011 01:29:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.8.202 with HTTP; Sun, 7 Aug 2011 01:29:17 -0700 (PDT) In-Reply-To: References: <1312523257662-6655326.post@n2.nabble.com> From: Yan Chunlu Date: Sun, 7 Aug 2011 16:29:17 +0800 Message-ID: Subject: Re: move one node for load re-balancing then it status stuck at "Leaving" To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015174768028c661a04a9e6215f X-Virus-Checked: Checked by ClamAV on apache.org --0015174768028c661a04a9e6215f Content-Type: text/plain; charset=ISO-8859-1 thanks for the help! On Sun, Aug 7, 2011 at 2:10 PM, Dikang Gu wrote: > Yes, I think you are right. > > The "nodetool move" will move the keys on the node to the other two nodes, > and the required replication is 3, but you will only have 2 live nodes after > the move, so you have the exception. > > > On Sun, Aug 7, 2011 at 2:03 PM, Yan Chunlu wrote: > >> is that possible that the implements of cassandra only calculate live >> nodes? >> >> for example: >> "node move node3" cause node3 "Leaving", then cassandra iterate over the >> endpoints and found node1 and node2. so the endpoints is 2, but RF=3, >> Exception raised. >> >> is that true? >> >> >> >> On Fri, Aug 5, 2011 at 3:20 PM, Yan Chunlu wrote: >> >>> nothing... >>> >>> nodetool -h node3 netstats >>> Mode: Normal >>> Not sending any streams. >>> Nothing streaming from /10.28.53.11 >>> Pool Name Active Pending Completed >>> Commands n/a 0 186669475 >>> Responses n/a 0 117986130 >>> >>> >>> nodetool -h node3 compactionstats >>> compaction type: n/a >>> column family: n/a >>> bytes compacted: n/a >>> bytes total in progress: n/a >>> pending tasks: 0 >>> >>> >>> >>> On Fri, Aug 5, 2011 at 1:47 PM, mcasandra >>> wrote: >>> > Check things like netstats, disk space etc to see why it's in Leaving >>> state. >>> > Anything in the logs that shows Leaving? >>> > >>> > -- >>> > View this message in context: >>> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/move-one-node-for-load-re-balancing-then-it-status-stuck-at-Leaving-tp6655168p6655326.html >>> > Sent from the cassandra-user@incubator.apache.org mailing list archive >>> at Nabble.com. >>> > >>> >> >> > > > -- > Dikang Gu > > 0086 - 18611140205 > > --0015174768028c661a04a9e6215f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable thanks for the help!

On Sun, Aug 7, 2011 = at 2:10 PM, Dikang Gu <dikang85@gmail.com> wrote:
Yes, I think you are right.

The "nodetool move"= ; will move the keys on the node to the other two nodes, and the required r= eplication is 3, but you will only have 2 live nodes after the move, so you= have the exception.


On Sun, Aug 7, 2011 at 2:03 PM, Yan Chunlu <= springrider@gmai= l.com> wrote:
is that possible that the implements of cassandra only calculate live nodes= ?

for example:
"node move node3" cau= se node3 "Leaving", then cassandra iterate over the endpoints and= found node1 and node2. so the endpoints is 2, but RF=3D3, Exception raised= .

is that true?

=


On Fri, Aug 5, 2011 at 3:20 PM, Yan Chunlu <springrider@gmail.com= > wrote:
nothing...

nodetool -h node3 netstats
Mode: Normal
Not sending any streams.
=A0Nothing streaming from /10.28.53.11
Pool Name =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Active =A0 Pending =A0 =A0= =A0Completed
Commands =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0n/a =A0 =A0 =A0 =A0= 0 =A0 =A0 =A0186669475
Responses =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 n/a =A0 =A0 =A0 =A0 0= =A0 =A0 =A0117986130


nodetool -h node3 compactionstats
compaction type: n/a
column family: n/a
bytes compacted: n/a
bytes total in progress: n/a
pending tasks: 0



On Fri, Aug 5, 2011 at 1:47 PM, mcasandra <mohitanchlia@gmail.com> wrote:
> Check things like netstats, disk space etc to see why it's in Leav= ing state.
> Anything in the logs that shows Leaving?
>
> --
> View this message in context: http= ://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/move-one-node-= for-load-re-balancing-then-it-status-stuck-at-Leaving-tp6655168p6655326.htm= l
> Sent from the cassandra-user@incubator.apache.org mailing list archi= ve at Nabble.com.
>




--
Dikang Gu

0086 - 18611140205

--0015174768028c661a04a9e6215f--