Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BBEF8200B3B for ; Mon, 11 Jul 2016 10:02:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BA6AD160A78; Mon, 11 Jul 2016 08:02:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DD0AD160A62 for ; Mon, 11 Jul 2016 10:02:41 +0200 (CEST) Received: (qmail 59425 invoked by uid 500); 11 Jul 2016 08:02:40 -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 59406 invoked by uid 99); 11 Jul 2016 08:02:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 08:02:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 86768C6F90; Mon, 11 Jul 2016 08:02:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Eba9KnH3zcmx; Mon, 11 Jul 2016 08:02:37 +0000 (UTC) Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id B49595FBBC; Mon, 11 Jul 2016 08:02:36 +0000 (UTC) Received: by mail-qk0-f174.google.com with SMTP id p74so50939897qka.0; Mon, 11 Jul 2016 01:02:36 -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 :cc; bh=pZFyNr9EJ5wtJo9OvdNzEvpt/2R7EBeOsewfc9meuxM=; b=YbfpVFxujIyOflpLcsuCdfh9ugu8CCTNMhJ68H6/1NIDfuYkKUBrama0tA01CgcZ1U kXug/2IxIv8BbNiTmQsAVPHYxuHBqw7/0HU8LSfeixytrX3soLk+xFRj5zrgQ/Rqcyp/ P1lHnOAO3XJVuF0//FSez1Vj15iw8L1c4yGb2POFIfP5hadDzqOYvfFB4fxjxslGTJmK LRo2DX8cYmbk82HD7vPO1XBJlbVfqqfn2o02SJ/m/NcY/I143SQmPGkP512UugbA779J TDo4Z3PRG9DTSTojAGxeFfXm0u3+LHViqp2FOqo5/YXwz5fNhfufNMZw9SHKrHNjndar kf2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pZFyNr9EJ5wtJo9OvdNzEvpt/2R7EBeOsewfc9meuxM=; b=GY6qAk7AoXBCXSFGDGAAfg0Yy3br8MSybb33+qaL7YEJK5p4K9QqUi23tt046gwMUv gVxzeZH2EXU9Q4vIw3vqJ2ycxhPV3njzZvfnvVdmeNFu16Qc/gIYvgE9ksqPnBVhL2Jh GCwUUGZwg1z3dPEU2ldGsdCmjXIQtn20JKaH7sWv9lm0S5vtVWNDpgEC0JYBrHL2rfJ9 YZyBRUBBHRNd74prvhOBcSwLXOURDMkweQAFhvjdykbS4CdZth+FO1LT1BR9VzyYCtvr vxkHZpVSPC8d/CFeCOCRm5zZpbbz8kwCecvotllImGZcxXW2DoH9piYJmIz2T1YttDbI tVMw== X-Gm-Message-State: ALyK8tJbgerfabclBeawG4Z3XZqIf3bDZ9OQLloRNsLI0evbz4QWW+ShmD1fOzYpmaHc32zNd+RgiYwXcC+Isg== X-Received: by 10.55.164.205 with SMTP id n196mr22052330qke.73.1468224155669; Mon, 11 Jul 2016 01:02:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.33.110 with HTTP; Mon, 11 Jul 2016 01:02:34 -0700 (PDT) In-Reply-To: References: From: Riccardo Ferrari Date: Mon, 11 Jul 2016 10:02:34 +0200 Message-ID: Subject: Re: Problems with cassandra on AWS To: user@cassandra.apache.org Cc: dev@cassandra.apache.org Content-Type: multipart/alternative; boundary=94eb2c06253a3fd8e30537579399 archived-at: Mon, 11 Jul 2016 08:02:42 -0000 --94eb2c06253a3fd8e30537579399 Content-Type: text/plain; charset=UTF-8 I would check your security group settings, you need to allow communication on cassandra ports (ie 9042,...) On Mon, Jul 11, 2016 at 8:17 AM, daemeon reiydelle wrote: > xWell, I seem to recall that the private IP's are valid for communications > WITHIN one VPC. I assume you can log into one machine and ping (or ssh) the > others. If so, check that cassandra.yaml is not set to listen on 127.0.0.1 > (localhost). > > > *.......* > > > > *Daemeon C.M. ReiydelleUSA (+1) 415.501.0198 > <%28%2B1%29%20415.501.0198>London (+44) (0) 20 8144 9872 > <%28%2B44%29%20%280%29%2020%208144%209872>* > > On Sun, Jul 10, 2016 at 4:54 PM, Kant Kodali wrote: > >> Hi Guys, >> >> I installed a 3 node Cassandra cluster on AWS and my replication factor is >> 3. I am trying to insert some data into a table. I set the consistency >> level of QUORUM at a Cassandra Session level. It only inserts into one >> node >> and unable to talk to other nodes because it is trying to contact other >> nodes through private IP and obviously that is failing so I am not sure >> how >> to change settings in say cassandra.yaml or somewhere such that >> rpc_address >> in system.peers table is updated to public IP's? I tried changing the >> seeds >> to all public IP's that didn't work as it looks like ec2 instances cannot >> talk to each other using public IP's. any help would be appreciated! >> >> Thanks, >> kant >> > > --94eb2c06253a3fd8e30537579399 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I would check your security group settings, you need to al= low communication on cassandra ports (ie 9042,...) =C2=A0

On Mon, Jul 11, 2016 at 8:1= 7 AM, daemeon reiydelle <daemeonr@gmail.com> wrote:
xWell, I se= em to recall that the private IP's are valid for communications WITHIN = one VPC. I assume you can log into one machine and ping (or ssh) the others= . If so, check that cassandra.yaml is not set to listen on 127.0.0.1 (local= host).

=

.......


Daemeon C.= M. Reiydelle
USA (+1) 415.501.0198
London (+44) (0) 20 8144 9872


On Sun, Jul 10, 2016 at 4:54 PM, Kant Kodali= <kant@peernova.com> wrote: