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 8C64B200C6F for ; Tue, 9 May 2017 23:02:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8AEAC160BB6; Tue, 9 May 2017 21:02:15 +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 81FDD160B9A for ; Tue, 9 May 2017 23:02:14 +0200 (CEST) Received: (qmail 22853 invoked by uid 500); 9 May 2017 21:02:12 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 22834 invoked by uid 99); 9 May 2017 21:02:12 -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; Tue, 09 May 2017 21:02:12 +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 896E0C10B3; Tue, 9 May 2017 21:02:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.878 X-Spam-Level: * X-Spam-Status: No, score=1.878 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com Received: from mx1-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 h1oPAkT1NmEF; Tue, 9 May 2017 21:02:08 +0000 (UTC) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0099.outbound.protection.outlook.com [104.47.38.99]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 54F8F5F4A7; Tue, 9 May 2017 21:02:08 +0000 (UTC) Received: from CO2PR00MB0198.namprd00.prod.outlook.com (10.166.214.134) by CO2PR00MB0102.namprd00.prod.outlook.com (10.166.215.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1112.0; Tue, 9 May 2017 21:01:59 +0000 Received: from CO2PR00MB0198.namprd00.prod.outlook.com ([fe80::49b1:1fd:6e9b:3858]) by CO2PR00MB0198.namprd00.prod.outlook.com ([fe80::49b1:1fd:6e9b:3858%17]) with mapi id 15.01.1114.000; Tue, 9 May 2017 21:01:59 +0000 From: Anubhav Kale To: "user@cassandra.apache.org" , "dev@cassandra.apache.org" CC: Sean Usher Subject: Cassandra 2.1.13: Using JOIN_RING=False Thread-Topic: Cassandra 2.1.13: Using JOIN_RING=False Thread-Index: AdLJBttSEBWVIayESzC+R+DA+u1qiA== Date: Tue, 9 May 2017 21:01:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: cassandra.apache.org; dkim=none (message not signed) header.d=none;cassandra.apache.org; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [2001:4898:80e8:a::4af] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CO2PR00MB0102;7:v3//9YsMLrAl/rrWEueEHSc5n6JoMTGC+66sJPdQBxUNjTeQ00e6pVgIBlylvsizQwxpfoP9RxDixEwsfVmZENeJEXiUGg63IPGYO6gtpawUSf1U38XsYdmrPBMthXlnrpVePynYVZbuEND9qs3c+BzySEhTAZR5327rZMECy+mGfk9jb2aZcADA7949hC6ULK+vAQi7FL2XkEF16qcPWVeiDdril3wOGzbBA+rl6nc+e+pHcblzjFmQY7TcSH1x2DsNmrgI0a7CuOnG3S9SyujcRun1oJHso8/vEC7rh9I0zmIpf+V1VNSP1zdTbaIufHHDxcDHjkVrshLxw7Mblt3OdRAUlQDnAtX9T4rxHCU= x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10019020)(6009001)(39410400002)(39860400002)(39850400002)(39450400003)(39840400002)(39400400002)(377424004)(5423002)(3280700002)(8676002)(55016002)(5005710100001)(5660300001)(99286003)(81166006)(8936002)(2501003)(450100002)(4326008)(5250100002)(790700001)(6116002)(102836003)(25786009)(86612001)(2906002)(7696004)(10290500003)(107886003)(33656002)(38730400002)(478600001)(6306002)(9686003)(54896002)(3660700001)(53936002)(10090500001)(50986999)(9326002)(74316002)(6436002)(2900100001)(189998001)(54356999)(86362001)(8990500004)(72206003)(6506006)(7736002);DIR:OUT;SFP:1102;SCL:1;SRVR:CO2PR00MB0102;H:CO2PR00MB0198.namprd00.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; x-ms-traffictypediagnostic: CO2PR00MB0102: x-ms-office365-filtering-correlation-id: 54d33d74-17e9-4f0b-6c29-08d4971ea214 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075);SRVR:CO2PR00MB0102; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700036)(100105000095)(100000701036)(100105300095)(100000702036)(100105100095)(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(100000703036)(100105400095)(6055026)(61426038)(61427038)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(20161123560025)(6072148)(100000704036)(100105200095)(100000705036)(100105500095);SRVR:CO2PR00MB0102;BCL:0;PCL:0;RULEID:(100000800036)(100110000095)(100000801036)(100110300095)(100000802036)(100110100095)(100000803036)(100110400095)(100000804036)(100110200095)(100000805036)(100110500095);SRVR:CO2PR00MB0102; x-forefront-prvs: 0302D4F392 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_CO2PR00MB0198056B8ED6351DD9C8181E8BEF0CO2PR00MB0198namp_" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2017 21:01:58.7955 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR00MB0102 archived-at: Tue, 09 May 2017 21:02:15 -0000 --_000_CO2PR00MB0198056B8ED6351DD9C8181E8BEF0CO2PR00MB0198namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, With some inspiration from the Cassandra Summit talk from last year, we are= trying to setup a cluster with coordinator-only nodes. We setup join_ring= =3Dfalse in env.sh, disabled auth in YAML and the nodes are able to start j= ust fine. However, we're running into a few problems 1] The nodes marked with join_ring=3Dfalse continue to store data. Why ? 2] We tried Python driver's whitelistedpolicy. But we notice message like b= elow, so we are not able to send queries to all nodes marked as coordinator= s. We also changed the Scala driver to support whitelisting, but see the sa= me thing. What are we missing ? 3] Is there any way to concretely tell that only coordinator nodes are gett= ing requests from clients ? We don't have OpsCenter. Thanks ! 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [control connection] Rem= oving host not found in peers metadata: 2017-05-09 20:45:25,060 [INFO] cassandra.cluster: Cassandra host 10.80.10.1= 28 removed 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: Removing host 10.80.10.1= 28 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [control connection] Rem= oving host not found in peers metadata: 2017-05-09 20:45:25,060 [INFO] cassandra.cluster: Cassandra host 10.80.10.1= 27 removed 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: Removing host 10.80.10.1= 27 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [control connection] Rem= oving host not found in peers metadata: 2017-05-09 20:45:25,060 [INFO] cassandra.cluster: Cassandra host 10.80.10.1= 29 removed 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: Removing host 10.80.10.1= 29 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [control connection] Fin= ished fetching ring info 2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [control connection] Reb= uilding token map due to topology changes 2017-05-09 20:45:25,081 [DEBUG] cassandra.metadata: user functions table no= t found 2017-05-09 20:45:25,081 [DEBUG] cassandra.metadata: user aggregates table n= ot found 2017-05-09 20:45:25,098 [DEBUG] cassandra.cluster: Control connection creat= ed 2017-05-09 20:45:25,099 [DEBUG] cassandra.pool: Initializing connection for= host 10.80.10.125 2017-05-09 20:45:25,099 [DEBUG] cassandra.pool: Initializing connection for= host 10.80.10.126 --_000_CO2PR00MB0198056B8ED6351DD9C8181E8BEF0CO2PR00MB0198namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

With some inspiration from the Cassandra Summit talk= from last year, we are trying to setup a cluster with coordinator-only nod= es. We setup join_ring=3Dfalse in env.sh, disabled auth in YAML and the nod= es are able to start just fine. However, we’re running into a few problems

 

1] The nodes marked with join_ring=3Dfalse continue = to store data. Why ?

2] We tried Python driver’s whitelistedpolicy.= But we notice message like below, so we = are not able to send queries to all nodes marked as coordinators. We also c= hanged the Scala driver to support whitelisting, but see the same thing. Wh= at are we missing ?

3] Is there any way to concretely tell that only coo= rdinator nodes are getting requests from clients ? We don’t have OpsC= enter.

 

Thanks !

 

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [= control connection] Removing host not found in peers metadata: <Host: 10= .80.10.128>

2017-05-09 20:45:25,060 [INFO] cassandra.cluster: Cassandra host 10.80.1= 0.128 removed

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: Removing host 10.80.1= 0.128

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [control connection] = Removing host not found in peers metadata: <Host: 10.80.10.127><= /o:p>

2017-05-09 20:45:25,060 [INFO] cassandra.cluster: Cassandra host 10.80.1= 0.127 removed

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: Removing host 10.80.1= 0.127

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [= control connection] Removing host not found in peers metadata: <Host: 10= .80.10.129>

2017-05-09 20:45:25,060 [INFO] cassandra.cluster: Ca= ssandra host 10.80.10.129 removed

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: R= emoving host 10.80.10.129

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [= control connection] Finished fetching ring info

2017-05-09 20:45:25,060 [DEBUG] cassandra.cluster: [= control connection] Rebuilding token map due to topology changes=

2017-05-09 20:45:25,081 [DEBUG] cassandra.metadata: = user functions table not found

2017-05-09 20:45:25,081 [DEBUG] cassandra.metadata: = user aggregates table not found

2017-05-09 20:45:25,098 [DEBUG] cassandra.cluster: C= ontrol connection created

2017-05-09 20:45:25,099 [DEBUG] cassandra.pool: Init= ializing connection for host 10.80.10.125

2017-05-09 20:45:25,099 [DEBUG] cassandra.pool: Init= ializing connection for host 10.80.10.126

 

--_000_CO2PR00MB0198056B8ED6351DD9C8181E8BEF0CO2PR00MB0198namp_--