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 4BCD3920A for ; Mon, 4 Mar 2013 15:58:49 +0000 (UTC) Received: (qmail 39987 invoked by uid 500); 4 Mar 2013 15:58:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 39967 invoked by uid 500); 4 Mar 2013 15:58:46 -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 39956 invoked by uid 99); 4 Mar 2013 15:58:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 15:58:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a57.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 15:58:41 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 60D8D208063 for ; Mon, 4 Mar 2013 07:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=fE3VdSb2Crm3kb5H0l/B6Q9f1T w=; b=CrhJIjiwL/uiETosVeHfGebV+8qt+4nTV5bvtcezkftOyf7S08RT9wvdBP 3+Hn6iZUViTfQJ2g571lDoe/bsWW3aTLw+orT97iQMUdHnxkScDdZ8WLG65J9tHD tvlC5oW6eeOR7RvIYcYNKkr1Jx8zfKANdmNGxwdPsvVLYlGVs= Received: from [192.168.168.119] (c-98-234-52-29.hsd1.ca.comcast.net [98.234.52.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTPSA id 3D8A4208060 for ; Mon, 4 Mar 2013 07:58:16 -0800 (PST) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_B48FD14D-58AC-45CD-BF55-43026582ACD6" Message-Id: <0F9FBB25-9EB4-41A1-AB39-34F1A8EBEE1F@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Connection issues Date: Mon, 4 Mar 2013 07:58:20 -0800 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_B48FD14D-58AC-45CD-BF55-43026582ACD6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Did you get this sorted ?=20 Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 28/02/2013, at 2:25 AM, amulya rattan wrote: > I have set up cassandra on EC2 with default localhost settings. = Everything works fine and dandy. I can run cli there, do inserts/writes, = the lot. However, when I try to read/write from another system on the = same EC2 LAN, it throws "All host pools mark down" error. However, I = could easily ping the Cassandra node from there. >=20 > I presumed perhaps I should give proper system IP address, instead of = localhost, in the Cassandra machine for listen_address and rpc_address. = However, doing that causes Cassandra to throw "unable to bind address" = for 7000 port on start-up. Changing the port or adding filter for it and = other ports in iptables doesn't help.=20 >=20 > Could this be a firewall issue on EC2 or some setting I am missing in = configuration, for cassandra node be accessable to an external client? >=20 > Any response is appreciated. >=20 > ~Amulya=20 --Apple-Mail=_B48FD14D-58AC-45CD-BF55-43026582ACD6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
http://www.thelastpickle.com

On 28/02/2013, at 2:25 AM, amulya rattan <talk2amulya@gmail.com> = wrote:

I have set up cassandra on EC2 with = default localhost settings. Everything works fine and dandy. I can run = cli there, do inserts/writes, the lot. However, when I try to read/write = from another system on the same EC2 LAN, it throws "All host pools mark = down" error. However, I could easily ping the Cassandra node from = there.

I presumed perhaps I should give proper system = IP address, instead of localhost, in the Cassandra machine for = listen_address and rpc_address. However, doing that causes Cassandra to = throw "unable to bind address" for 7000 port on start-up. Changing the = port or adding filter for it and other ports in iptables doesn't = help. 

Could this be a firewall issue = on EC2 or some setting I am missing in configuration, for cassandra node = be accessable to an external client?

Any response is appreciated.

~Amulya 

= --Apple-Mail=_B48FD14D-58AC-45CD-BF55-43026582ACD6--