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 27CA19839 for ; Fri, 1 Mar 2013 09:44:30 +0000 (UTC) Received: (qmail 13414 invoked by uid 500); 1 Mar 2013 09:44:27 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 12971 invoked by uid 500); 1 Mar 2013 09:44:27 -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 12942 invoked by uid 99); 1 Mar 2013 09:44:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 09:44:26 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jaluce06@gmail.com designates 209.85.128.179 as permitted sender) Received: from [209.85.128.179] (HELO mail-ve0-f179.google.com) (209.85.128.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 09:44:18 +0000 Received: by mail-ve0-f179.google.com with SMTP id da11so2664019veb.38 for ; Fri, 01 Mar 2013 01:43:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=bJenGddI/tWkLN9ZZ+lXdY9K8y1wGopT6LemdoGevJM=; b=a4xtQa1XjDXZ2zGdoq8VuYaUMdgk29LENNz6stbAWKkj8ynctoIWglWQap2XpieyM8 gpEv8Kexw/+56lSbz1VLH0awt5B+99dZIOA/i92aLhLtfw/dM7Fe1mEadGUgfyJoDl83 O2nXOTz8/4U3PL1nIVOVjt2razJ/+DEian45kQbfK6WQPjKIa4YYx9pFSnOLiHQW/QGY CBovdOAA+u46yGeopyWO2Q3YbjMJWkf6WeAdCNe6ZKvTYJsXzBaouzEfaCX2r5sM7mCK iqFA48CydgVAR5ohLQMnNL8WoIlDlI+T2TlrYoV7ZsJRZFQ4gY0XRiF4XpKDfqfcigrM KHEg== MIME-Version: 1.0 X-Received: by 10.58.56.161 with SMTP id b1mr3922538veq.42.1362131037445; Fri, 01 Mar 2013 01:43:57 -0800 (PST) Received: by 10.58.237.195 with HTTP; Fri, 1 Mar 2013 01:43:57 -0800 (PST) Date: Fri, 1 Mar 2013 10:43:57 +0100 Message-ID: Subject: Other nodes are seen down with rpc_address 0.0.0.0 in version 1.2.2 From: Jean-Armel Luce To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b2e0b8da0160404d6d9d816 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e0b8da0160404d6d9d816 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have upgraded to Cassandra 1.2.2. There are 16 nodes in my cluster in 2 datacenters (8 nodes in each datacenter). I am using NetworkTopologyStrategy. I have a problem when defining in my C* cluster the rpc_address: 0.0.0.0 into cassandra.yaml to allow listening on all interface. (I didn't have this problem with version 1.2.0) In version 1.2.2, when I execute nodetool status from one node, the other nodes are seen node. Datacenter: b1 ============== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns (effective) Host ID Rack DN 10.234.72.135 ? 256 36.6% e2b2de81-47bd-4e99-baed-a70ef9cbbbbb c01 DN 10.234.72.134 ? 256 45.0% 54c3424d-a8aa-48d0-ad76-957fc4ddc50d e01 DN 10.234.72.141 ? 256 43.5% 64e14102-4400-4859-9b9f-4bf867a75187 e06 DN 10.234.72.140 ? 256 35.4% 0b84a722-a51f-468e-a9fd-363f8915dd7e e07 DN 10.234.72.139 ? 256 34.0% 00fb36ee-d652-4b46-899a-d04262805fb9 e07 DN 10.234.72.138 ? 256 36.3% 62378ac6-308b-4231-8bef-1abdf623444b e03 DN 10.234.72.137 ? 256 34.2% 859a7dff-b110-4e13-9a9e-c912e6f22f8f e03 DN 10.234.72.136 ? 256 34.8% 026a0b17-491c-4f1b-9e1b-813cfd87ce00 c01 Datacenter: s1 ============== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns (effective) Host ID Rack DN 10.98.255.139 ? 256 42.3% b5b8c733-261d-40e6-aa99-158ccb7a1b2a g10 DN 10.98.255.138 ? 256 37.3% 0d3ebd50-1e52-4d56-9fc0-956818877038 i02 DN 10.98.255.137 ? 256 36.2% 70c91c40-dac6-4141-86a8-d5aa838d29c2 i02 DN 10.98.255.136 ? 256 36.2% 5e890166-0581-4fe9-aada-bd9f95526f9e a09 UN 10.98.255.135 5.27 GB 256 35.3% e07e1f54-1ac4-460d-aee3-8ef8b0fa27d2 a09 DN 10.98.255.134 ? 256 39.6% 8b1d5a28-fa66-45f5-baed-3e18d29dfbf2 h06 DN 10.98.255.141 ? 256 37.7% f7f376c0-d1d4-4cf9-af8d-2dbe59d04753 h06 DN 10.98.255.140 ? 256 35.3% ee74e11d-b74e-4004-a7e6-758e7de8981a g10 In the log file, I see this message in each node ERROR [WRITE-/10.234.72.134] 2013-03-01 10:33:02,571 CassandraDaemon.java (line 132) Exception in thread Thread[WRITE-/10.234.72.134,5,main] java.lang.RuntimeException: Unknown host /0.0.0.0 with no default configured at org.apache.cassandra.locator.PropertyFileSnitch.getEndpointInfo(PropertyFileSnitch.java:90) at org.apache.cassandra.locator.PropertyFileSnitch.getDatacenter(PropertyFileSnitch.java:113) at org.apache.cassandra.locator.DynamicEndpointSnitch.getDatacenter(DynamicEndpointSnitch.java:127) at org.apache.cassandra.net.OutboundTcpConnection.isLocalDC(OutboundTcpConnection.java:76) Is it the normal behavior ? Is it due to https://issues.apache.org/jira/browse/CASSANDRA-5299 ? Regards Jean Armel --047d7b2e0b8da0160404d6d9d816 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,


I have upgraded to Cassandra 1.2.2.
There are 16 nodes in= my cluster in 2 datacenters (8 nodes in each datacenter).
I am using Ne= tworkTopologyStrategy.

I have a problem when defining in my C* clust= er the rpc_address: 0.0.0.0 into cassandra.yaml to allow listening on all i= nterface.
(I didn't have this problem with version 1.2.0)

In version 1.2.2= ,=A0 when I execute nodetool status from one node, the other nodes are seen= node.


Datacenter: b1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
Status=3DUp/Down
|/ State=3DNormal/Leaving/Joining/Moving
--=A0 Address=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Load=A0=A0=A0=A0=A0=A0 Tokens= =A0 Owns (effective)=A0 Host ID=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Rack
DN=A0 10.234.72.13= 5=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0=A0 36.6%=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 e2b2de81-47bd-4e99-baed-a70ef9cbbbbb=A0 c01
= DN=A0 10.234.72.134=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0= =A0 45.0%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 54c3424d-a8aa-48d0-ad76-957fc= 4ddc50d=A0 e01
DN=A0 10.234.72.141=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0= =A0 43.5%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 64e14102-4400-4859-9b9f-4bf86= 7a75187=A0 e06
DN=A0 10.234.72.140=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0= =A0 256=A0=A0=A0=A0 35.4%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0b84a722-a51f= -468e-a9fd-363f8915dd7e=A0 e07
DN=A0 10.234.72.139=A0=A0=A0=A0 ?=A0=A0= =A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0=A0 34.0%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 00fb36ee-d652-4b46-899a-d04262805fb9=A0 e07
DN=A0 10.234.72.138=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0= =A0 36.3%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 62378ac6-308b-4231-8bef-1abdf= 623444b=A0 e03
DN=A0 10.234.72.137=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0= =A0 256=A0=A0=A0=A0 34.2%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 859a7dff-b110= -4e13-9a9e-c912e6f22f8f=A0 e03
DN=A0 10.234.72.136=A0=A0=A0=A0 ?=A0=A0= =A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0=A0 34.8%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 026a0b17-491c-4f1b-9e1b-813cfd87ce00=A0 c01
Datacenter: s1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Status=3DUp= /Down
|/ State=3DNormal/Leaving/Joining/Moving
--=A0 Address=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 Load=A0=A0=A0=A0=A0=A0 Tokens=A0 Owns (effective)=A0 = Host ID=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 Rack
DN=A0 10.98.255.139=A0=A0=A0=A0 ?=A0=A0=A0= =A0=A0=A0=A0=A0=A0 256=A0=A0=A0=A0 42.3%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 b5b8c733-261d-40e6-aa99-158ccb7a1b2a=A0 g10
DN=A0 10.98.255.138=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0= =A0 37.3%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0d3ebd50-1e52-4d56-9fc0-95681= 8877038=A0 i02
DN=A0 10.98.255.137=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0= =A0 256=A0=A0=A0=A0 36.2%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 70c91c40-dac6= -4141-86a8-d5aa838d29c2=A0 i02
DN=A0 10.98.255.136=A0=A0=A0=A0 ?=A0=A0= =A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0=A0 36.2%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 5e890166-0581-4fe9-aada-bd9f95526f9e=A0 a09
UN=A0 10.98.255.135=A0=A0=A0=A0 5.27 GB=A0=A0=A0 256=A0=A0=A0=A0 35.3%=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 e07e1f54-1ac4-460d-aee3-8ef8b0fa27d2=A0 a= 09
DN=A0 10.98.255.134=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0=A0 256=A0= =A0=A0=A0 39.6%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 8b1d5a28-fa66-45f5-baed= -3e18d29dfbf2=A0 h06
DN=A0 10.98.255.141=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0= =A0=A0=A0 256=A0=A0=A0=A0 37.7%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 f7f376c= 0-d1d4-4cf9-af8d-2dbe59d04753=A0 h06
DN=A0 10.98.255.140=A0=A0=A0=A0 ?=A0=A0=A0=A0=A0=A0=A0=A0=A0 256=A0=A0=A0= =A0 35.3%=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ee74e11d-b74e-4004-a7e6-758e7= de8981a=A0 g10

In the log file, I see this message in each node
<= br>ERROR [WRITE-/10.234.72.134] 2013-0= 3-01 10:33:02,571 CassandraDaemon.java (line 132) Exception in thread Threa= d[WRITE-/10.234.72.134,5,main]
java.lang.RuntimeException: Unknown host /0.0.0.= 0 with no default configured
=A0=A0=A0=A0=A0=A0=A0 at org.apache.cas= sandra.locator.PropertyFileSnitch.getEndpointInfo(PropertyFileSnitch.java:9= 0)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.cassandra.locator.PropertyFileSni= tch.getDatacenter(PropertyFileSnitch.java:113)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.cassandra.locator.DynamicEndpointSnitch= .getDatacenter(DynamicEndpointSnitch.java:127)
=A0=A0=A0=A0=A0=A0=A0 at = org.apache.cassandra.net.OutboundTcpConnection.isLocalDC(OutboundTcpConnect= ion.java:76)

Is it the normal behavior ?
Is it due to https://issues.apache.org/jira/browse/CASSANDRA-5299 ?
=A0
Reg= ards
Jean Armel
--047d7b2e0b8da0160404d6d9d816--