You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2010/10/12 17:55:30 UTC

svn commit: r1021809 - /cassandra/trunk/conf/cassandra.yaml

Author: jbellis
Date: Tue Oct 12 15:55:30 2010
New Revision: 1021809

URL: http://svn.apache.org/viewvc?rev=1021809&view=rev
Log:
update listen_address, rpc_address comments

Modified:
    cassandra/trunk/conf/cassandra.yaml

Modified: cassandra/trunk/conf/cassandra.yaml
URL: http://svn.apache.org/viewvc/cassandra/trunk/conf/cassandra.yaml?rev=1021809&r1=1021808&r2=1021809&view=diff
==============================================================================
--- cassandra/trunk/conf/cassandra.yaml (original)
+++ cassandra/trunk/conf/cassandra.yaml Tue Oct 12 15:55:30 2010
@@ -112,13 +112,26 @@ sliced_buffer_size_in_kb: 64
 # TCP port, for commands and data
 storage_port: 7000
 
-# Address to bind to and tell other nodes to connect to. You _must_
-# change this if you want multiple nodes to be able to communicate!
+# Address to bind to and tell other Cassandra nodes to connect to. You
+# _must_ change this if you want multiple nodes to be able to
+# communicate!
+# 
+# Leaving it blank leaves it up to InetAddress.getLocalHost(). This
+# will always do the Right Thing *if* the node is properly configured
+# (hostname, name resolution, etc), and the Right Thing is to use the
+# address associated with the hostname (it might not be).
+#
+# Setting this to 0.0.0.0 is always wrong.
 listen_address: localhost
 
-# The address to bind the Thrift RPC service to
+# The address to bind the Thrift RPC service to -- clients connect
+# here. Unlike ListenAddress above, you *can* specify 0.0.0.0 here if
+# you want Thrift to listen on all interfaces.
+# 
+# Leaving this blank has the same effect it does for ListenAddress,
+# (i.e. it will be based on the configured hostname of the node).
 rpc_address: localhost
-# port for Thrift to listen on
+# port for Thrift to listen for clients on
 rpc_port: 9160
 
 # enable or disable keepalive on rpc connections