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 096B4200BCC for ; Tue, 29 Nov 2016 23:28:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 08446160B23; Tue, 29 Nov 2016 22:28:00 +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 53AD7160AFC for ; Tue, 29 Nov 2016 23:27:59 +0100 (CET) Received: (qmail 97326 invoked by uid 500); 29 Nov 2016 22:27:58 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 97306 invoked by uid 99); 29 Nov 2016 22:27:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 22:27:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5F6BD2C03DF for ; Tue, 29 Nov 2016 22:27:58 +0000 (UTC) Date: Tue, 29 Nov 2016 22:27:58 +0000 (UTC) From: "Joel Knighton (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-11107) Add native_transport_address and native_transport_broadcast_address yaml options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Nov 2016 22:28:00 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15706743#comment-15706743 ] Joel Knighton commented on CASSANDRA-11107: ------------------------------------------- I've got a patch in progress that solves the easy parts of this. At this point, however, I am having second thoughts regarding the costs/benefits of this change. At this point, to support separate rpc/native_transport configurations, changes would seem to include: * updating the native protocol so that NEW_NODE events include rpc_address and native_transport_address (and other TopologyChangeEvents, since identifiers used by drivers might include both address configurations) * updating the PEERS table to include rpc_address and native_transport_address * adding an ApplicationState in Gossip for native_transport_address. Drivers would also need to be updated to query native_transport_address appropriately. This seems like a fair amount of work when 4.0 will end up negating these changes on removing Thrift. The other option that immediately presents itself is to allow these properties to be set in a 3.X yaml but require them to match the rpc configurations. I'm not sure this is worth it either. Let me know what you think, [~slebresne]. > Add native_transport_address and native_transport_broadcast_address yaml options > -------------------------------------------------------------------------------- > > Key: CASSANDRA-11107 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11107 > Project: Cassandra > Issue Type: Improvement > Components: Configuration > Reporter: n0rad > Assignee: Joel Knighton > Priority: Minor > > I'm starting cassandra on a container with this /etc/hosts > {quote} > 127.0.0.1 rkt-235c219a-f0dc-4958-9e03-5afe2581bbe1 localhost > ::1 rkt-235c219a-f0dc-4958-9e03-5afe2581bbe1 localhost > {quote} > I have the default configuration except : > {quote} > - seeds: "10.1.1.1" > listen_address : 10.1.1.1 > {quote} > cassandra will start listening on *127.0.0.1:9042* > if I set *rpc_address:10.1.1.1* , even if *start_rpc: false*, cassandra will listen on 10.1.1.1 > Since rpc is not started, I assumed that *rpc_address* and *broadcast_rpc_address* will be ignored > It took me a while to figure that. There may be something to do around this -- This message was sent by Atlassian JIRA (v6.3.4#6332)