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 046CF18226 for ; Tue, 9 Feb 2016 00:25:31 +0000 (UTC) Received: (qmail 17378 invoked by uid 500); 9 Feb 2016 00:25:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17336 invoked by uid 500); 9 Feb 2016 00:25:28 -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 17325 invoked by uid 99); 9 Feb 2016 00:25:28 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2016 00:25:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C0E02180179 for ; Tue, 9 Feb 2016 00:25:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.263 X-Spam-Level: * X-Spam-Status: No, score=1.263 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, T_KAM_HTML_FONT_INVALID=0.01, T_REMOTE_IMAGE=0.01, URI_TRY_3LD=0.064] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=datastax.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id R39veRwNOXpi for ; Tue, 9 Feb 2016 00:25:25 +0000 (UTC) Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 38C172050D for ; Tue, 9 Feb 2016 00:25:25 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id wb13so174569056obb.1 for ; Mon, 08 Feb 2016 16:25:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datastax.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0i/GqTzwEXEaoVpAvZWtdDosZYjPO3vrLj2MfmhdwKA=; b=sQYZhOoP17ZV+aJeB4RSOLRhPUoRVXz/0N/cbVmr7PEEc8AcKsQasO22WI0mDU9g2h 6iScCYdG+4K/9jPOahQav3MB8QIy5kjqVY296sX5h2d8ROHKETrIj4WTWcKixZwcF2xn 0YaKZOOR+Xj0/8zCT6doaubalkt0/J+Bd/XIc= 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:date :message-id:subject:from:to:content-type; bh=0i/GqTzwEXEaoVpAvZWtdDosZYjPO3vrLj2MfmhdwKA=; b=Vw+sFAMtv2oqf/SEiJE//f58W0xHsVFntxChV0EycvckLwFM5t9KgzGbismLIP56sj uzKqmrIYyzyeBwbY0eP2I2bnuJVKZvOTMTUuIOQWSn6JZdO7pXhBso8DiuwswWoOGbfn eOUihha1mNREjo6O7WSufLEYg07oiFdaE+kig9MsSqxzCBQ9d+EwYnNfNFfTuQcfpoCN 9uAN/Uecck0zPvXhjP5GNMJkU4f5CyyA6mRkfI8r4yfPur0nvixJsERXHkPbYYVpPivA QTy9NfxaLUfKW090OZ3szF0rGxfWNOEFAaOTTLWRatyXOANrXYBKuh4fAnuPEISIwJvw tVBw== X-Gm-Message-State: AG10YOR5G4/TLiJc4sVOICnp+pi9JD4kS2rPQD6UsPC9d0Tm4ghr/WE/msgyzaT551OhPdhJT4KLkDGHWxftiKmQ MIME-Version: 1.0 X-Received: by 10.182.33.38 with SMTP id o6mr28793677obi.40.1454977524603; Mon, 08 Feb 2016 16:25:24 -0800 (PST) Received: by 10.76.151.202 with HTTP; Mon, 8 Feb 2016 16:25:24 -0800 (PST) In-Reply-To: References: Date: Tue, 9 Feb 2016 08:25:24 +0800 Message-ID: Subject: Re: CASSANDRA-8072 From: Stefania Alborghetti To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=089e011838f082c51c052b4b5af4 --089e011838f082c51c052b4b5af4 Content-Type: text/plain; charset=UTF-8 CASSANDRA-8072 is not going to help you because the code that fails (checkForEndpointCollision()) should not execute for seeds. I think the problem is that there are no seeds in cassandra.yaml: - seeds: "XX.YY" If listen_address is localhost then try: - seeds: "127.0.0.1" On Tue, Feb 9, 2016 at 5:58 AM, Ted Yu wrote: > If I apply the fix from CASSANDRA-8072 onto a 2.1.12 cluster, which files > should I replace ? > > Thanks > > On Mon, Feb 8, 2016 at 1:07 PM, Bhuvan Rawal wrote: > >> Your config looks fine to me, i tried reproducing the scenario by >> setting localhost in listen_address,rpc_address and seed list, and it >> worked fine, I had earlier the node local ip in the 3 fields and it was >> working fine. >> >> Looks like there is some other issue here. >> >> On Tue, Feb 9, 2016 at 12:49 AM, Ted Yu wrote: >> >>> Here it is: >>> http://pastebin.com/QEdjtAj6 >>> >>> XX.YY is localhost in this case. >>> >>> On Mon, Feb 8, 2016 at 11:03 AM, Bhuvan Rawal >>> wrote: >>> >>>> could you paste your cassandra.yaml here, except for commented out >>>> lines? >>>> >>>> On Tue, Feb 9, 2016 at 12:30 AM, Ted Yu wrote: >>>> >>>>> The issue I described was observed on the seed node. >>>>> >>>>> Both rpc_address and listen_address point to localhost. >>>>> >>>>> bq. What addresses are there in the seed list? >>>>> >>>>> The IP of the seed node. >>>>> >>>>> I haven't come to starting non-seed node(s) yet. >>>>> >>>>> Thanks for the quick response. >>>>> >>>>> On Mon, Feb 8, 2016 at 10:50 AM, Bhuvan Rawal >>>>> wrote: >>>>> >>>>>> Hi Ted, >>>>>> >>>>>> Have you specified the listen_address and rpc_address? What addresses >>>>>> are there in the seed list? >>>>>> >>>>>> Have you started seed first and after waiting for 30 seconds started >>>>>> other nodes? >>>>>> >>>>>> >>>>>> On Tue, Feb 9, 2016 at 12:14 AM, Ted Yu wrote: >>>>>> >>>>>>> Hi, >>>>>>> I am trying to setup a cluster with DSE 4.8.4 >>>>>>> >>>>>>> I added the following in resources/cassandra/conf/cassandra.yaml : >>>>>>> >>>>>>> cluster_name: 'cass' >>>>>>> >>>>>>> which resulted in: >>>>>>> >>>>>>> http://pastebin.com/27adxKTM >>>>>>> >>>>>>> This seems to be resolved by CASSANDRA-8072 >>>>>>> >>>>>>> My question is whether there is workaround ? >>>>>>> If not, when can I expect 2.1.13 release ? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > -- [image: datastax_logo.png] Stefania Alborghetti Apache Cassandra Software Engineer |+852 6114 9265| stefania.alborghetti@datastax.com --089e011838f082c51c052b4b5af4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
CASSANDRA-8072 is not going to help you because = the code that fails (checkForEndpointCollision()) should not execute for se= eds.

I think the problem is that there are no seeds in cassan= dra.yaml:

- seeds: "XX.YY"

If listen_address= is localhost then try:

- seeds: "127.0.0.1"

=

On Tu= e, Feb 9, 2016 at 5:58 AM, Ted Yu <yuzhihong@gmail.com> wr= ote:
If I apply the fix = from=C2=A0CASSANDRA-8072 onto a 2.1.12 clu= ster, which files should I replace ?

Thanks<= /div>

On Mon, Feb 8, 2016 at 1:07 PM, Bhuvan Ra= wal <bhu1rawal@gmail.com> wrote:
Your config looks fine to me, =C2=A0i tried repro= ducing the scenario by setting localhost in listen_address,rpc_address and = seed list, and it worked fine, I had earlier the node local ip in the 3 fie= lds and it was working fine.=C2=A0

Looks like there is s= ome other issue here.

On Tue, Feb 9, 2016 at 12:49 AM, Ted Yu = <yuzhihong@gmai= l.com> wrote:
Here it is:

XX.YY= is localhost in this case.

On Mon, Feb 8, 2016 at 11:03 AM, Bhuvan Raw= al <bhu1rawal@gmail.com> wrote:
could you paste your cassandra.yaml here, except f= or commented out lines?

On Tue, Feb 9, 2016 at 12:30 AM, Ted Yu <yuzhihong@gmail.com> wrote:
The issue I described was observed on the seed node= .

Both=C2=A0rpc_addres= s and=C2=A0listen_address point to localhost.

bq.= =C2=A0What addresses are there in the seed= list?

<= div>The IP of the seed node.
<= div>
I haven't come to starting non-seed node(s) yet.

Thanks for the quick response.
<= div>

On Mon, = Feb 8, 2016 at 10:50 AM, Bhuvan Rawal <bhu1rawal@gmail.com> wrote:
Hi Ted,
Have you specified the listen_address and rpc_address? What add= resses are there in the seed list?

Have you starte= d seed first and after waiting for 30 seconds started other nodes?


On Tue, Feb 9, 2016 at 12:14 AM, Ted Yu <yuzhihong@gmail.com<= /a>> wrote:
Hi,
I am trying to setup a cluster with DSE=C2=A04.8.4

I added the following in=C2=A0resources/cassandra/conf/ca= ssandra.yaml :

cluster_name: 'cass'

which resulted in:


This seems to be resolved by=C2=A0CASSANDRA-8072=

My question is whether there is workaround ?
If not, when can I expect 2.1.13 release ?

T= hanks









--

3D"datastax_logo.png"

Stefania Alborghetti

Apache Cassandra Software Engineer

|+852 6114 9265| stefania.alborghetti@datastax.com


<= img src=3D"http://learn.datastax.com/rs/059-YLZ-577/images/Gartner_728x90_S= ig4.png">

--089e011838f082c51c052b4b5af4--