Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 643F818DBC for ; Mon, 11 May 2015 15:02:41 +0000 (UTC) Received: (qmail 74729 invoked by uid 500); 11 May 2015 15:00:25 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 73215 invoked by uid 500); 11 May 2015 15:00:23 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 67772 invoked by uid 99); 11 May 2015 14:42:26 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2015 14:42:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0DC411A296B for ; Mon, 11 May 2015 14:30:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 60_1Ax0Y5NAT for ; Mon, 11 May 2015 14:29:52 +0000 (UTC) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 4B7E924980 for ; Mon, 11 May 2015 14:29:51 +0000 (UTC) Received: by obcus9 with SMTP id us9so71330923obc.2 for ; Mon, 11 May 2015 07:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gBk7wwhtPVhOhtKN2Whgerk1jttzVRiYeWr+9jG0XKQ=; b=A/MCqj0m27alcr7OMDu/Hv9cD5YzXaXJapINaijNzLEP0rSBU0jPUI0KAcRw1ZzKK5 A3IC3F6gupvK0i3UTiER9z+xoo6aiLeBIEdxpD+QJpz58lyjz318aPSJCGhuKlC2w82z 1ox999dSjI3eLfNEb++S+9apxjVT5RG1UC4nE1K7FEMPscTKyuB7oKsxhWF0qMQD2KWC AYaONULY2abT3YRylROZ0mXJjRHuOSLo4Fg6tRWH4x94eL6CbTG5YMXgk1u0rDPTzUiw WF8AyudMJo5B9I+XqR59JnsOoM1y1iRRbAahn4edATjiW4Bx8AhcbGPmi4PqUVHljwwV HS+A== X-Received: by 10.202.52.212 with SMTP id b203mr7796141oia.126.1431354583687; Mon, 11 May 2015 07:29:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.169.66 with HTTP; Mon, 11 May 2015 07:29:23 -0700 (PDT) In-Reply-To: References: From: Brandon Williams Date: Mon, 11 May 2015 09:29:23 -0500 Message-ID: Subject: Re: Nodes failed to bootstrap, no nodetool info but system.peer populated. To: "dev@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a113cc9fe8249ae0515cf359f --001a113cc9fe8249ae0515cf359f Content-Type: text/plain; charset=UTF-8 https://issues.apache.org/jira/browse/CASSANDRA-9180 On Mon, May 11, 2015 at 4:17 AM, Carlos Rolo wrote: > Hi all, > > I just wanted to know if this should be worth filling a bug or not > (Couldn't find any similar). > > I have a 3 node cluster (2.0.14). Decided to add 3 new ones. 2 failed > because of hardware failure (virtualized environment). > > The process was automated, so what was supposed to happen was: > > - Node 4 joins > - wait until status is UN and then 2min more > - Node 5 joins > - wait until status is UN and then 2min more > - Node 6 joins > - wait until status is UN and then 2min more > > What happened: > - Node 4 joins > - Wait... > - Node 5 joins > - VM fails while node is starting. > - VM 6 starts, no node with UN, waits 2min > - Node 6 joins > - VM fails while node is starting. > > After this, nodetool reports 4 nodes all UN > While trying an application (Datastax Java Driver 2.1) the debug log > reports that it tries to connect to Node 5 and 6 and fails. > > Checking system.peers table, I see both nodes there. So I tried "nodetool > removenode " with the IDs in the table. > > It blows up with the following exception: > Exception in thread "main" java.lang.UnsupportedOperationException: Host ID > not found. > > Then I decided to do the following: > DELETE from peers where ID in (ID1, ID2); > > All good, cluster still happy and driver not complaining anymore. > Is this expected behavior? > > > > Regards, > > Carlos Juzarte Rolo > Cassandra Consultant > > Pythian - Love your data > > rolo@pythian | Twitter: cjrolo | Linkedin: * > linkedin.com/in/carlosjuzarterolo > * > Mobile: +31 6 159 61 814 | Tel: +1 613 565 8696 x1649 > www.pythian.com > > -- > > > -- > > > > --001a113cc9fe8249ae0515cf359f--