cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [1/3] git commit: deprecate yaml snitch
Date Fri, 12 Sep 2014 22:46:16 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 ddb1e168b -> d93a580d7
  refs/heads/trunk a002a0ed2 -> 793630a95


deprecate yaml snitch


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

Branch: refs/heads/cassandra-2.1
Commit: d93a580d73f733b5b40e768c5c838a219b552bde
Parents: ddb1e16
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Fri Sep 12 17:46:05 2014 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Fri Sep 12 17:46:05 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d93a580d/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 3237979..93e76f0 100644
--- a/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
+++ b/src/java/org/apache/cassandra/locator/YamlFileNetworkTopologySnitch.java
@@ -102,6 +102,7 @@ public class YamlFileNetworkTopologySnitch
     YamlFileNetworkTopologySnitch(final String topologyConfigFilename)
             throws ConfigurationException
     {
+        logger.warn("YamlFileNetworkTopologySnitch is deprecated; switch to GossipingPropertyFileSnitch
instead");
         this.topologyConfigFilename = topologyConfigFilename;
         loadTopologyConfiguration();
 


Mime
View raw message