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 D508F7CD4 for ; Mon, 10 Oct 2011 17:29:35 +0000 (UTC) Received: (qmail 35831 invoked by uid 500); 10 Oct 2011 17:29:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35793 invoked by uid 500); 10 Oct 2011 17:29: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 35785 invoked by uid 99); 10 Oct 2011 17:29:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 17:29:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of driftx@gmail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bw0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 17:29:27 +0000 Received: by bkaq10 with SMTP id q10so9658517bka.31 for ; Mon, 10 Oct 2011 10:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5K/pHsEgDfrkSQnjfkHN5r4qY69ThWW/HZXD3uq1XyY=; b=f/vlUJnswOMr/JBCoCGFkxln6CpP0Goj0zkL/l/sz438/W/t3YRXOQdSEgaQ8GUhKy 7S73+pCuHwdOywAB4j8bIxUZKMU44WxXEb8hgni8DM0ZMJo8TWEQZfBjCA2MIHb2gh6X 4iUUJ+tKuqqkKI/gZLp4CNeJz/fi/FzSN/Lgo= Received: by 10.204.142.144 with SMTP id q16mr6926617bku.75.1318267747124; Mon, 10 Oct 2011 10:29:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.130.14 with HTTP; Mon, 10 Oct 2011 10:28:47 -0700 (PDT) In-Reply-To: <7B2D74DD59063D48A2447376C55CE54D45A18958@MOES1.nisc.lan> References: <7B2D74DD59063D48A2447376C55CE54D45A18958@MOES1.nisc.lan> From: Brandon Williams Date: Mon, 10 Oct 2011 12:28:47 -0500 Message-ID: Subject: Re: MapReduce with two ethernet cards To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Oct 10, 2011 at 11:47 AM, Scott Fines wrote: > Hi all, > This may be a silly question, but I'm at a bit of a loss, and was hoping for > some help. > I have a Cassandra cluster set up with two NICs--one for internel > communication between cassandra machines (10.1.1.*), and one to respond to > Thrift RPC (172.28.*.*). > I also have a Hadoop cluster set up, which, for unrelated reasons, has to > remain separate from Cassandra, so I've written a little MapReduce job to > copy data from Cassandra to Hadoop. However, when I try to run my job, I > get > java.io.IOException: failed connecting to all endpoints > 10.1.1.24,10.1.1.17,10.1.1.16 > which is puzzling to me. It seems like the MR is attempting to connect to > the internal communication IPs instead of the external Thrift IPs. Since I > set up a firewall to block external access to the internal IPs of Cassandra, > this is obviously going to fail. > So my question is: why does Cassandra MR seem to be grabbing the > listen_address instead of the Thrift one. Presuming it's not a funky > configuration error or something on my part, is that strictly necessary? All > told, I'd prefer if it was connecting to the Thrift IPs, but if it can't, > should I open up port 7000 or port 9160 between Hadoop and Cassandra? > Thanks for your help, > Scott Your cassandra is old, upgrade to the latest version. -Brandon