From fe1062a6bee4e8b5e724ea880bfc43b4a2ae5d3c Mon Sep 17 00:00:00 2001 From: christobill Date: Wed, 18 Mar 2015 13:34:37 +0100 Subject: [PATCH] Adding more explicit comment for JVM_OPTS Giving the link of the possible issue for which JVM_OPTS -Djava.rmi.server.hostname might or might not be needed. (nodetool remote connection issue) --- cassandra-cluster/scripts/cassandra-clusternode.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cassandra-cluster/scripts/cassandra-clusternode.sh b/cassandra-cluster/scripts/cassandra-clusternode.sh index 093493d..fec28ae 100755 --- a/cassandra-cluster/scripts/cassandra-clusternode.sh +++ b/cassandra-cluster/scripts/cassandra-clusternode.sh @@ -34,6 +34,8 @@ fi echo "JVM_OPTS=\"\$JVM_OPTS -Dcassandra.initial_token=$CASSANDRA_TOKEN\"" >> $CASSANDRA_CONFIG/cassandra-env.sh # Most likely not needed +# relates to the folllowing issue (nodetool remote connection issue): +# http://www.datastax.com/documentation/cassandra/2.1/cassandra/troubleshooting/trblshootConnectionsFail_r.html echo "JVM_OPTS=\"\$JVM_OPTS -Djava.rmi.server.hostname=$IP\"" >> $CASSANDRA_CONFIG/cassandra-env.sh echo "Starting Cassandra on $IP..."