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 959059F43 for ; Wed, 7 Mar 2012 20:44:01 +0000 (UTC) Received: (qmail 85393 invoked by uid 500); 7 Mar 2012 20:43:58 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 85324 invoked by uid 500); 7 Mar 2012 20:43:58 -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 85310 invoked by uid 99); 7 Mar 2012 20:43:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 20:43:58 +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 (athena.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 20:43:52 +0000 Received: from com.flipdogsolutions (unknown [78.26.128.183]) by web1.alefhost.od.ua (Postfix) with ESMTPSA id 12F5B24184 for ; Wed, 7 Mar 2012 22:43:33 +0200 (EET) Date: Wed, 7 Mar 2012 22:45:08 +0200 (GMT+02:00) From: igor@4friends.od.ua To: user@cassandra.apache.org Message-ID: 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_0_1224008328.1331153108705" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_0_1224008328.1331153108705 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Maybe it wait for verification compaction on other node? =C2=A0 -----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.java (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 joining > 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, with > 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_0_1224008328.1331153108705 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Maybe it wait for verification compaction on other node?

<= p> 



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

At this mo= ment 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 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 <aa= ron@thelastpickle.com>
- When I try to remove the token, = it says:=C2=A0Exception in thread "main" java.lang.UnsupportedOpe= rationException: 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_0_1224008328.1331153108705--