Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E625510298 for ; Fri, 5 Apr 2013 20:15:16 +0000 (UTC) Received: (qmail 22246 invoked by uid 500); 5 Apr 2013 20:15:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 22209 invoked by uid 500); 5 Apr 2013 20:15:16 -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 22198 invoked by uid 99); 5 Apr 2013 20:15:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 20:15:16 +0000 Date: Fri, 5 Apr 2013 20:15:16 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5400) Allow multiple ports to gossip from a single IP address MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624014#comment-13624014 ] Brandon Williams commented on CASSANDRA-5400: --------------------------------------------- bq. I thought the real reason todo this was to support bulk streaming from the hadoop BOF already does this. > Allow multiple ports to gossip from a single IP address > ------------------------------------------------------- > > Key: CASSANDRA-5400 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5400 > Project: Cassandra > Issue Type: New Feature > Affects Versions: 2.0 > Reporter: Carl Yeksigian > Assignee: Carl Yeksigian > Fix For: 2.0 > > Attachments: 5400.txt, 5400-v2.txt, 5400-v3.patch, 5400-v4.patch > > > If a fat client is running on the same machine as a Cassandra node, the fat client must be allocated a new IP address. However, since the node is now a part of the gossip, the other nodes in the ring must be able to talk to it. This means that a local only address (127.0.0.n) won't actually work for the rest of the ring. > This also would allow for multiple Cassandra service instances to run on a single machine, or from a group of machines behind a NAT. > The change is simple in concept: instead of using an InetAddress, use a different class. Instead of using an InetSocketAddress, which would still tie us to using InetAddress, I've added a new class, "CassandraInstanceEndpoint". The serializer allows for reading a serialized Inet4Address or Inet6Address; also, the message service can still communicate with non-CassandraInstanceEndpoint aware code. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira