cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: fix error msg loading rackdc properties when system property is specified
Date Tue, 06 May 2014 04:13:50 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 4791d9814 -> 69e65be8d


fix error msg loading rackdc properties when system property is specified


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

Branch: refs/heads/cassandra-2.0
Commit: 69e65be8d77716c4ddf318d63f180aceb2393133
Parents: 4791d98
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Tue May 6 00:13:32 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Tue May 6 00:13:32 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/69e65be8/src/java/org/apache/cassandra/locator/SnitchProperties.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/locator/SnitchProperties.java b/src/java/org/apache/cassandra/locator/SnitchProperties.java
index 36fec7f..cb0946a 100644
--- a/src/java/org/apache/cassandra/locator/SnitchProperties.java
+++ b/src/java/org/apache/cassandra/locator/SnitchProperties.java
@@ -50,7 +50,7 @@ public class SnitchProperties
         catch (Exception e)
         {
             // do not throw exception here, just consider this an incomplete or an empty
property file.
-            logger.warn("Unable to read " + RACKDC_PROPERTY_FILENAME);
+            logger.warn("Unable to read {}", ((configURL != null) ? configURL : RACKDC_PROPERTY_FILENAME));
         }
         finally
         {


Mime
View raw message