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 58D1890E7 for ; Thu, 13 Oct 2011 16:13:35 +0000 (UTC) Received: (qmail 7795 invoked by uid 500); 13 Oct 2011 16:13:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 7765 invoked by uid 500); 13 Oct 2011 16:13:33 -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 7757 invoked by uid 99); 13 Oct 2011 16:13:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 16:13:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [207.243.68.202] (HELO mail.nisc.coop) (207.243.68.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 16:13:26 +0000 Authentication-Results: mail.nisc.coop; dkim=neutral (message not signed) header.i=none X-IronPort-AV: E=Sophos;i="4.69,341,1315198800"; d="scan'208";a="157520421" Received: from unknown (HELO mail.nisc.coop) ([12.10.126.135]) by mail.nisc.coop with ESMTP/TLS/AES128-SHA; 13 Oct 2011 11:13:04 -0500 Received: from MOES1.nisc.lan ([::1]) by MOES1.nisc.lan ([::1]) with mapi id 14.01.0289.001; Thu, 13 Oct 2011 11:13:03 -0500 From: Scott Fines To: "user@cassandra.apache.org" Subject: RE: MapReduce with two ethernet cards Thread-Topic: MapReduce with two ethernet cards Thread-Index: AcyHa+DHRakrhzKBTPSEdOM2tJJG+gAMBkqAAIm+snE= Date: Thu, 13 Oct 2011 16:13:03 +0000 Message-ID: <7B2D74DD59063D48A2447376C55CE54D45A19263@MOES1.nisc.lan> References: <7B2D74DD59063D48A2447376C55CE54D45A18958@MOES1.nisc.lan>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.224.22] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 I upgraded to cassandra 0.8.7, and the problem persists.=0A= =0A= Scott=0A= ________________________________________=0A= From: Brandon Williams [driftx@gmail.com]=0A= Sent: Monday, October 10, 2011 12:28 PM=0A= To: user@cassandra.apache.org=0A= Subject: Re: MapReduce with two ethernet cards=0A= =0A= On Mon, Oct 10, 2011 at 11:47 AM, Scott Fines wrote= :=0A= > Hi all,=0A= > This may be a silly question, but I'm at a bit of a loss, and was hoping = for=0A= > some help.=0A= > I have a Cassandra cluster set up with two NICs--one for internel=0A= > communication between cassandra machines (10.1.1.*), and one to respond t= o=0A= > Thrift RPC (172.28.*.*).=0A= > I also have a Hadoop cluster set up, which, for unrelated reasons, has to= =0A= > remain separate from Cassandra, so I've written a little MapReduce job to= =0A= > copy data from Cassandra to Hadoop. However, when I try to run my job, I= =0A= > get=0A= > java.io.IOException: failed connecting to all endpoints=0A= > 10.1.1.24,10.1.1.17,10.1.1.16=0A= > which is puzzling to me. It seems like the MR is attempting to connect to= =0A= > the internal communication IPs instead of the external Thrift IPs. Since = I=0A= > set up a firewall to block external access to the internal IPs of Cassand= ra,=0A= > this is obviously going to fail.=0A= > So my question is: why does Cassandra MR seem to be grabbing the=0A= > listen_address instead of the Thrift one. Presuming it's not a funky=0A= > configuration error or something on my part, is that strictly necessary? = All=0A= > told, I'd prefer if it was connecting to the Thrift IPs, but if it can't,= =0A= > should I open up port 7000 or port 9160 between Hadoop and Cassandra?=0A= > Thanks for your help,=0A= > Scott=0A= =0A= Your cassandra is old, upgrade to the latest version.=0A= =0A= -Brandon=0A=