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 91237759B for ; Wed, 12 Oct 2011 18:45:35 +0000 (UTC) Received: (qmail 24740 invoked by uid 500); 12 Oct 2011 18:45:35 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 24711 invoked by uid 500); 12 Oct 2011 18:45:35 -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 24702 invoked by uid 99); 12 Oct 2011 18:45:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 18:45:35 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 18:45:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F2AED305FFF for ; Wed, 12 Oct 2011 18:45:11 +0000 (UTC) Date: Wed, 12 Oct 2011 18:45:11 +0000 (UTC) From: "Yang Yang (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <796171771.6025.1318445111995.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1585278394.5711.1318440432006.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3352) do not bind to a specific address for listening MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126036#comment-13126036 ] Yang Yang commented on CASSANDRA-3352: -------------------------------------- thanks but could you please explain why this line is in the cassandra.yaml comment? # Setting this to 0.0.0.0 is always wrong. > do not bind to a specific address for listening > ----------------------------------------------- > > Key: CASSANDRA-3352 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3352 > Project: Cassandra > Issue Type: Bug > Reporter: Yang Yang > Priority: Minor > > now the thrift api binds to a specific address when it opens up the tcp socket. > this creates a little inconvenience when you access the box in cassandra-cli: > you have to find the exact host name. but if you are using cassandra-cli on localhost, > you would normally like to just use "localhost"; similarly there is a problem if > you use EC2, you have to find the external address, instead of using the local ip, which is available to you. > I understand that the bind address would be useful in cases of testing (you can create multiple > clusters on the same box), but probably we could preserve that behavior through > a config var for testing mode only -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira