cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [06/10] cassandra git commit: Fix failed bootstrap/replace attempts being persisted in system.peers
Date Tue, 14 Apr 2015 19:31:41 GMT
Fix failed bootstrap/replace attempts being persisted in system.peers

Patch by brandonwilliams, reviewed by slebresne for CASSANDRA-9180


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ee9bd549
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ee9bd549
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ee9bd549

Branch: refs/heads/cassandra-2.1
Commit: ee9bd549e83a157ae727f2e38c921694fffda52d
Parents: cba1b68
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Tue Apr 14 12:19:53 2015 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Tue Apr 14 12:50:01 2015 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/CassandraDaemon.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ee9bd549/src/java/org/apache/cassandra/service/CassandraDaemon.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/CassandraDaemon.java b/src/java/org/apache/cassandra/service/CassandraDaemon.java
index b527528..21d5249 100644
--- a/src/java/org/apache/cassandra/service/CassandraDaemon.java
+++ b/src/java/org/apache/cassandra/service/CassandraDaemon.java
@@ -88,7 +88,7 @@ public class CassandraDaemon
             }
             else
             {
-                System.setProperty("java.rmi.server.hostname","127.0.0.1");
+                System.setProperty("java.rmi.server.hostname", InetAddress.getLoopbackAddress().getHostAddress());
 
                 try
                 {


Mime
View raw message