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 DC1CF967D for ; Wed, 7 Mar 2012 21:22:14 +0000 (UTC) Received: (qmail 17386 invoked by uid 500); 7 Mar 2012 21:22:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17331 invoked by uid 500); 7 Mar 2012 21:22:12 -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 17323 invoked by uid 99); 7 Mar 2012 21:22:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 21:22:12 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [92.60.177.132] (HELO web1.alefhost.od.ua) (92.60.177.132) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 21:22:04 +0000 Received: from com.flipdogsolutions (unknown [78.26.128.183]) by web1.alefhost.od.ua (Postfix) with ESMTPSA id E8BC324184 for ; Wed, 7 Mar 2012 23:21:48 +0200 (EET) Date: Wed, 7 Mar 2012 23:23:23 +0200 (GMT+02:00) From: igor@4friends.od.ua To: user@cassandra.apache.org Message-ID: <40d11283-f49d-490e-8aa3-9877a8c2a54f.maildroid@localhost> In-Reply-To: References: <51F6975F-0B9D-4C29-A2C7-F6C63EF11B8B@thelastpickle.com> Subject: Re: Node joining / unknown MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1_1222797272.1331155404181" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1_1222797272.1331155404181 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable just run "nodetool compactionstat" on other nodes. -----Original Message----- From: "R. Verlangen" To: user@cassandra.apache.org Sent: Wed, 07 Mar 2012 23:09 Subject: Re: Node joining / unknown @Brandon: Thank you for the information. I'll do that next time. @Igor: Any ways to find out whether that is the current state? And if so, how to solve it? 2012/3/7 > Maybe it wait for verification compaction on other node? > > > > > > -----Original Message----- > From: "R. Verlangen" > To: user@cassandra.apache.org > Sent: Wed, 07 Mar 2012 22:15 > Subject: Re: Node joining / unknown > > At this moment the node has joined the ring (after a restart: tried that > before, but now it had finally result). > > When I try to run repair on the new node, the log says (the new node is > NODE C): > > INFO [AntiEntropyStage:1] 2012-03-07 21:12:06,453 AntiEntropyService.java > (line 190) [repair #cfcc12b0-6891-11e1-0000-70a329caccff] Received merkle > tree for StorageMeta from NODE A > INFO [AntiEntropyStage:1] 2012-03-07 21:12:06,643 AntiEntropyService.jav= a > (line 190) [repair #cfcc12b0-6891-11e1-0000-70a329caccff] Received merkle > tree for StorageMeta from NODE B > > And then doesn't do anything anymore. Tried it a couple of times again. > It's just not starting. > > Results from netstats on NODE C: > > Mode: NORMAL > Not sending any streams. > Not receiving any streams. > Pool Name Active Pending Completed > Commands n/a 0 5 > Responses n/a 93 4296 > > > Any suggestions? > > Thank you! > > 2012/3/7 aaron morton > >> - When I try to remove the token, it says: Exception in thread "main" >> java.lang.UnsupportedOperationException: Token not found. >> >> Am assuming you ran nodetool removetoken on a node other than the joinin= g >> node? What did nodetool ring look like on that machine ? >> >> Take a look at nodetool netstats on the joining node to see if streaming >> has failed. If it's dead then=E2=80=A6 >> >> 1) Try restarting the joining node and run nodetool repair on it >> immediately. Note: am assuming QUOURM CL otherwise things may get >> inconsistent. >> or >> 2) Stop the node. Try to get remove the token again from another node. >> Node that removing a token will stream data around the place as well. >> >> Cheers >> >> ----------------- >> Aaron Morton >> Freelance Developer >> @aaronmorton >> http://www.thelastpickle.com >> >> On 7/03/2012, at 9:11 PM, R. Verlangen wrote: >> >> Hi there, >> >> I'm currently in a really weird situation. >> - Nodetool ring says node X is joining (this already takes 12 hours, wit= h >> no activity) >> - When I try to remove the token, it says: Exception in thread "main" >> java.lang.UnsupportedOperationException: Token not found. >> - Removetoken status =3D No token removals in process. >> >> How to get that node out of my cluster? >> >> With kind regards, >> Robin Verlangen >> >> >> > ------=_Part_1_1222797272.1331155404181 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

just run "nodetool compactionstat" on other nodes.



-----Original Message-----
From: "R. Verlangen" <= ;robin@us2.nl>
To: user@cassandra.apache.org
Sent: Wed, 07 Mar 2= 012 23:09
Subject: Re: Node joining / unknown

@Brandon: = Thank you for the information. I'll do that next time.

@Igor: Any ways to find out whether that is the current state? And if so= , how to solve it?

2012/3/7 <igor@4friends.od.ua>= ;

Maybe it wait for verification compa= ction on other node?

=C2=A0



-----Original Message-----
From: "R. Verlangen" <robin@us2.nl>
To:= user@cassan= dra.apache.org
Sent: Wed, 07 Mar 2012 22:15
Subject: Re: Node joining / unknown

=
At this moment th= e node has joined the ring (after a restart: tried that before, but now it = had finally result).

When I try to run repair on the new node, the log says (the = new node is NODE C):

INFO [AntiEntropyStage:1] 2012-03-07 21:12:06,453 AntiE= ntropyService.java (line 190) [repair #cfcc12b0-6891-11e1-0000-70a329caccff= ] Received merkle tree for StorageMeta from NODE A
=C2=A0INFO [An= tiEntropyStage:1] 2012-03-07 21:12:06,643 AntiEntropyService.java (line 190= ) [repair #cfcc12b0-6891-11e1-0000-70a329caccff] Received merkle tree for S= torageMeta from NODE B

And then doesn't do anything anymore. Tried it a co= uple of times again. It's just not starting.

R= esults from netstats on NODE C:

Mode: NORMAL<= /div>
Not sending any streams.
Not receiving any streams.
Pool Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Active =C2=A0 Pending =C2=A0 =C2=A0 =C2=A0Completed
Command= s =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0n/a =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A05
Responses =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 n/a =C2=A0 =C2=A0 =C2=A0 =C2=A093= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4296


Any suggestions?=C2=A0
<= br>
Thank you!

2012/3/7 aaron= morton <aaron@thelastpickle.com>
- When I try to remove the token, it says:=C2= =A0Exception in thread "main" java.lang.UnsupportedOperationExcep= tion: Token not found.
Am assuming you ran nodetool removetoken on a = node other than the joining node? What =C2=A0did nodetool ring look like on= that machine ?=C2=A0

Take a look at nodetoo= l netstats on the joining node to see if streaming has failed. If it's = dead then=E2=80=A6

1) Try restarting the joining node and run nodetool rep= air on it immediately. Note: am assuming QUOURM CL otherwise things may get= inconsistent.=C2=A0
or
2) Stop the node. Try to get re= move the token again from another node. Node that removing a token will str= eam data around the place as well.=C2=A0

Cheers

<= div style=3D"word-wrap:break-word">
-----------------
Aaron Morton
Freelance Deve= loper
@aaronmorton

On 7/03/2012, at 9:11 PM, R. Verlangen wrote:

Hi there,

I'm currently in a rea= lly weird situation.=C2=A0
- Nodetool ring says node X is joining= (this already takes 12 hours, with no activity)
- When I try to remove the token, it says:=C2=A0Exception in thread &q= uot;main" java.lang.UnsupportedOperationException: Token not found.
- Removetoken status =3D=C2=A0No token removals in process.
=
How to get that node out of my cluster?

=
With kind regards,
Robin Verlangen



------=_Part_1_1222797272.1331155404181--