cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [1/2] git commit: fix node's broadcast address sanity check
Date Sat, 03 May 2014 20:55:42 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 38a48b123 -> f12a8a32e


fix node's broadcast address sanity check


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

Branch: refs/heads/cassandra-2.1
Commit: 65cd825d0d423b7473b7197b2d22a3dc169e2bb1
Parents: 3fb2dcd
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Sat May 3 16:51:14 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Sat May 3 16:51:14 2014 -0400

----------------------------------------------------------------------
 .../apache/cassandra/locator/YamlFileNetworkTopologySnitch.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/65cd825d/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java b/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
index f299b61..99ab792 100644
--- a/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
+++ b/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
@@ -273,7 +273,7 @@ public class YamlFileNetworkTopologySnitch
 
                 for (final Node node : rack.nodes)
                 {
-                    if (rack.rack_name == null)
+                    if (node.broadcast_address == null)
                     {
                         throw new ConfigurationException(
                                 String.format(


Mime
View raw message