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 4D35DC139 for ; Sun, 27 May 2012 17:21:51 +0000 (UTC) Received: (qmail 44921 invoked by uid 500); 27 May 2012 17:21:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 44843 invoked by uid 500); 27 May 2012 17:21:48 -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 44830 invoked by uid 99); 27 May 2012 17:21:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 May 2012 17:21:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of doug.muth@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qc0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 May 2012 17:21:42 +0000 Received: by qcsq13 with SMTP id q13so1460833qcs.31 for ; Sun, 27 May 2012 10:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yrYZrg+R8dz/HkMZR2r8mpMQcEnVQu6t2Z49dS1NyAs=; b=XzDKIPzg8X58FHBhGFfLPpTNGvAegA54s8wug0J4yXfqPHsBCOdbdlnrz058K6Wn9f wkRmDA3XUDi40USwcDGqK+Xfs8H35BHjhjv8zI+KB2RtEO98UBMkceXy+sZLY/ZhrdiS jZu9wUe1sZoD+kCvpn0T7vn2qD9+Fi2nVOjZwdB8zSYF5JyyX50ZnYTBUrnLnWHT1gem lcBD7rVr4UX1teLUNvnvKEK5m8DYsT5FmJAERQ1KbNftFG61CQCdHzI+asW6fydxxPa0 OO+SzSo2BGsrk74roq8eIUIPU2/QfZRefdTJveYmxbw4wi4V8Fe6NfX5k8yNxLNGEV5l zZLA== MIME-Version: 1.0 Received: by 10.224.201.5 with SMTP id ey5mr5674951qab.74.1338139281494; Sun, 27 May 2012 10:21:21 -0700 (PDT) Received: by 10.229.123.207 with HTTP; Sun, 27 May 2012 10:21:21 -0700 (PDT) Date: Sun, 27 May 2012 13:21:21 -0400 Message-ID: Subject: Nodetool talking to an old IP address (and timing out) From: Douglas Muth To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, I'm a relative newbie to Cassandra, and have been trying to get up to speed on it so that I can start using it at $WORK. I ran into an interesting issue the other day with nodetool. I currently have Cassandra running on an Amazon EC2 instance running Ubuntu 10.10. At one point, I rebooted the system, and it looks like any attempt to use nodetool to talk to the localhost instead tries to connect to the old IP address of the machine! (EC2 instances get a new IP after shutdown/startup) When I try to run nodetool now, it times out after about 10 seconds with an error like this: dmuth@devteam:~ $ nodetool --host localhost ring Error connection to remote JMX agent! java.rmi.ConnectException: Connection refused to host: 10.244.207.16; nested exception is: java.net.ConnectException: Connection timed out And I've verified that the IP of the machine does NOT in fact end in .16: dmuth@devteam:~ $ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 12:31:3d:14:6a:84 inet addr:10.84.117.110 Bcast:10.84.117.255 Mask:255.255.255.0 I checked configuration file for Cassandra and verified that I do in fact have the new IP address in there. I also made sure that there was nothing weird in /etc/hosts. Also, cqlsh works just fine, as does the Helenus client for node.js. I can talk to our cassandra instance just fine through either of those two. I'm out of ideas at this point. Does anyone have any other suggestions for what I investigate on my system? Thanks, -- Doug http://twitter.com/dmuth