You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2014/03/25 19:29:04 UTC

[1/9] git commit: Merge remote-tracking branch 'origin/cassandra-2.1' into cassandra-2.1

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 4f9d0505a -> f8229c3fb
  refs/heads/cassandra-2.1 ea39c4984 -> 0cd17695f
  refs/heads/trunk e03a2567d -> b96adb995


Merge remote-tracking branch 'origin/cassandra-2.1' into cassandra-2.1


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

Branch: refs/heads/trunk
Commit: cc5edc02262b783182a9668603e5f38a119b025b
Parents: 44ed78a bbe607f
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 12:59:05 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 12:59:05 2014 -0500

----------------------------------------------------------------------
 CHANGES.txt                                     |   2 +-
 build.xml                                       |   3 -
 examples/hadoop_cql3_word_count/bin/word_count  |   3 +-
 .../bin/word_count_counters                     |   4 +-
 .../hadoop_cql3_word_count/src/WordCount.java   |  77 +--
 .../src/WordCountCounters.java                  |  54 +-
 .../apache/cassandra/db/ConsistencyLevel.java   |   2 +
 .../cassandra/hadoop/cql3/CqlConfigHelper.java  | 541 +------------------
 .../cassandra/hadoop/cql3/CqlInputFormat.java   |  80 ---
 .../hadoop/cql3/CqlPagingRecordReader.java      |   2 +-
 .../cassandra/hadoop/cql3/CqlRecordReader.java  | 260 ---------
 11 files changed, 32 insertions(+), 996 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cc5edc02/CHANGES.txt
----------------------------------------------------------------------


[2/9] git commit: typo

Posted by jb...@apache.org.
typo


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

Branch: refs/heads/trunk
Commit: 4f9d0505a86153dd7006cc18611fb2096425d44f
Parents: ad81cab
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Mar 21 22:11:22 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:19:24 2014 -0500

----------------------------------------------------------------------
 CHANGES.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/4f9d0505/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 81fba5f..373544c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -247,7 +247,7 @@ Merged from 1.2:
 2.0.2
  * Update FailureDetector to use nanontime (CASSANDRA-4925)
  * Fix FileCacheService regressions (CASSANDRA-6149)
- * Never return WriteTimeout for CL.ANY (CASSANDRA-6032)
+ * Never return WriteTimeout for CL.ANY (CASSANDRA-6132)
  * Fix race conditions in bulk loader (CASSANDRA-6129)
  * Add configurable metrics reporting (CASSANDRA-4430)
  * drop queries exceeding a configurable number of tombstones (CASSANDRA-6117)


[5/9] git commit: update comments for partitioner and snitch

Posted by jb...@apache.org.
update comments for partitioner and snitch


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

Branch: refs/heads/trunk
Commit: f8229c3fb25c9f823939ac39558e5f29dd46ee3a
Parents: 4f9d050
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 13:28:45 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:28:45 2014 -0500

----------------------------------------------------------------------
 conf/cassandra.yaml | 60 ++++++++++++++++++++----------------------------
 1 file changed, 25 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f8229c3f/conf/cassandra.yaml
----------------------------------------------------------------------
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index d3c91ef..2edd498 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -78,27 +78,16 @@ authorizer: AllowAllAuthorizer
 # Will be disabled automatically for AllowAllAuthorizer.
 permissions_validity_in_ms: 2000
 
-# The partitioner is responsible for distributing rows (by key) across
-# nodes in the cluster.  Any IPartitioner may be used, including your
-# own as long as it is on the classpath.  Out of the box, Cassandra
-# provides org.apache.cassandra.dht.{Murmur3Partitioner, RandomPartitioner
-# ByteOrderedPartitioner, OrderPreservingPartitioner (deprecated)}.
-# 
-# - RandomPartitioner distributes rows across the cluster evenly by md5.
-#   This is the default prior to 1.2 and is retained for compatibility.
-# - Murmur3Partitioner is similar to RandomPartioner but uses Murmur3_128
-#   Hash Function instead of md5.  When in doubt, this is the best option.
-# - ByteOrderedPartitioner orders rows lexically by key bytes.  BOP allows
-#   scanning rows in key order, but the ordering can generate hot spots
-#   for sequential insertion workloads.
-# - OrderPreservingPartitioner is an obsolete form of BOP, that stores
-# - keys in a less-efficient format and only works with keys that are
-#   UTF8-encoded Strings.
-# - CollatingOPP collates according to EN,US rules rather than lexical byte
-#   ordering.  Use this as an example if you need custom collation.
-#
-# See http://wiki.apache.org/cassandra/Operations for more on
-# partitioners and token selection.
+# The partitioner is responsible for distributing groups of rows (by
+# partition key) across nodes in the cluster.  You should leave this
+# alone for new clusters.  The partitioner can NOT be changed without
+# reloading all data, so when upgrading you should set this to the
+# same partitioner you were already using.
+#
+# Besides Murmur3Partitioner, partitioners included for backwards
+# compatibility include RandomPartitioner, ByteOrderedPartitioner, and
+# OrderPreservingPartitioner.
+#
 partitioner: org.apache.cassandra.dht.Murmur3Partitioner
 
 # Directories where Cassandra should store data on disk.  Cassandra
@@ -538,23 +527,18 @@ cross_node_timeout: false
 #
 # Out of the box, Cassandra provides
 #  - SimpleSnitch:
-#    Treats Strategy order as proximity. This improves cache locality
-#    when disabling read repair, which can further improve throughput.
-#    Only appropriate for single-datacenter deployments.
+#    Treats Strategy order as proximity. This can improve cache
+#    locality when disabling read repair.  Only appropriate for
+#    single-datacenter deployments.
+#  - GossipingPropertyFileSnitch
+#    This should be your go-to snitch for production use.  The rack
+#    and datacenter for the local node are defined in
+#    cassandra-rackdc.properties and propagated to other nodes via
+#    gossip.  If cassandra-topology.properties exists, it is used as a
+#    fallback, allowing migration from the PropertyFileSnitch.
 #  - PropertyFileSnitch:
 #    Proximity is determined by rack and data center, which are
 #    explicitly configured in cassandra-topology.properties.
-#  - GossipingPropertyFileSnitch
-#    The rack and datacenter for the local node are defined in
-#    cassandra-rackdc.properties and propagated to other nodes via gossip.  If
-#    cassandra-topology.properties exists, it is used as a fallback, allowing
-#    migration from the PropertyFileSnitch.
-#  - RackInferringSnitch:
-#    Proximity is determined by rack and data center, which are
-#    assumed to correspond to the 3rd and 2nd octet of each node's
-#    IP address, respectively.  Unless this happens to match your
-#    deployment conventions (as it did Facebook's), this is best used
-#    as an example of writing a custom Snitch class.
 #  - Ec2Snitch:
 #    Appropriate for EC2 deployments in a single Region. Loads Region
 #    and Availability Zone information from the EC2 API. The Region is
@@ -568,6 +552,12 @@ cross_node_timeout: false
 #    ssl_storage_port on the public IP firewall.  (For intra-Region
 #    traffic, Cassandra will switch to the private IP after
 #    establishing a connection.)
+#  - RackInferringSnitch:
+#    Proximity is determined by rack and data center, which are
+#    assumed to correspond to the 3rd and 2nd octet of each node's IP
+#    address, respectively.  Unless this happens to match your
+#    deployment conventions, this is best used as an example of
+#    writing a custom Snitch class and is provided in that spirit.
 #
 # You can use a custom Snitch by setting this to the full class name
 # of the snitch, which will be assumed to be on your classpath.


[3/9] git commit: Merge branch 'cassandra-2.0' into cassandra-2.1

Posted by jb...@apache.org.
Merge branch 'cassandra-2.0' into cassandra-2.1


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

Branch: refs/heads/trunk
Commit: ea39c49844b5fe7c176d8f35ed23bb9c446fa33d
Parents: cc5edc0 4f9d050
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 13:19:31 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:19:31 2014 -0500

----------------------------------------------------------------------

----------------------------------------------------------------------



[9/9] git commit: Merge branch 'cassandra-2.1' into trunk

Posted by jb...@apache.org.
Merge branch 'cassandra-2.1' into trunk


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

Branch: refs/heads/trunk
Commit: b96adb995efeda8c21c3fb7983a016a7e0819f79
Parents: e03a256 0cd1769
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 13:28:58 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:28:58 2014 -0500

----------------------------------------------------------------------
 conf/cassandra.yaml | 60 ++++++++++++++++++++----------------------------
 1 file changed, 25 insertions(+), 35 deletions(-)
----------------------------------------------------------------------



[4/9] git commit: update comments for partitioner and snitch

Posted by jb...@apache.org.
update comments for partitioner and snitch


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

Branch: refs/heads/cassandra-2.0
Commit: f8229c3fb25c9f823939ac39558e5f29dd46ee3a
Parents: 4f9d050
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 13:28:45 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:28:45 2014 -0500

----------------------------------------------------------------------
 conf/cassandra.yaml | 60 ++++++++++++++++++++----------------------------
 1 file changed, 25 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f8229c3f/conf/cassandra.yaml
----------------------------------------------------------------------
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index d3c91ef..2edd498 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -78,27 +78,16 @@ authorizer: AllowAllAuthorizer
 # Will be disabled automatically for AllowAllAuthorizer.
 permissions_validity_in_ms: 2000
 
-# The partitioner is responsible for distributing rows (by key) across
-# nodes in the cluster.  Any IPartitioner may be used, including your
-# own as long as it is on the classpath.  Out of the box, Cassandra
-# provides org.apache.cassandra.dht.{Murmur3Partitioner, RandomPartitioner
-# ByteOrderedPartitioner, OrderPreservingPartitioner (deprecated)}.
-# 
-# - RandomPartitioner distributes rows across the cluster evenly by md5.
-#   This is the default prior to 1.2 and is retained for compatibility.
-# - Murmur3Partitioner is similar to RandomPartioner but uses Murmur3_128
-#   Hash Function instead of md5.  When in doubt, this is the best option.
-# - ByteOrderedPartitioner orders rows lexically by key bytes.  BOP allows
-#   scanning rows in key order, but the ordering can generate hot spots
-#   for sequential insertion workloads.
-# - OrderPreservingPartitioner is an obsolete form of BOP, that stores
-# - keys in a less-efficient format and only works with keys that are
-#   UTF8-encoded Strings.
-# - CollatingOPP collates according to EN,US rules rather than lexical byte
-#   ordering.  Use this as an example if you need custom collation.
-#
-# See http://wiki.apache.org/cassandra/Operations for more on
-# partitioners and token selection.
+# The partitioner is responsible for distributing groups of rows (by
+# partition key) across nodes in the cluster.  You should leave this
+# alone for new clusters.  The partitioner can NOT be changed without
+# reloading all data, so when upgrading you should set this to the
+# same partitioner you were already using.
+#
+# Besides Murmur3Partitioner, partitioners included for backwards
+# compatibility include RandomPartitioner, ByteOrderedPartitioner, and
+# OrderPreservingPartitioner.
+#
 partitioner: org.apache.cassandra.dht.Murmur3Partitioner
 
 # Directories where Cassandra should store data on disk.  Cassandra
@@ -538,23 +527,18 @@ cross_node_timeout: false
 #
 # Out of the box, Cassandra provides
 #  - SimpleSnitch:
-#    Treats Strategy order as proximity. This improves cache locality
-#    when disabling read repair, which can further improve throughput.
-#    Only appropriate for single-datacenter deployments.
+#    Treats Strategy order as proximity. This can improve cache
+#    locality when disabling read repair.  Only appropriate for
+#    single-datacenter deployments.
+#  - GossipingPropertyFileSnitch
+#    This should be your go-to snitch for production use.  The rack
+#    and datacenter for the local node are defined in
+#    cassandra-rackdc.properties and propagated to other nodes via
+#    gossip.  If cassandra-topology.properties exists, it is used as a
+#    fallback, allowing migration from the PropertyFileSnitch.
 #  - PropertyFileSnitch:
 #    Proximity is determined by rack and data center, which are
 #    explicitly configured in cassandra-topology.properties.
-#  - GossipingPropertyFileSnitch
-#    The rack and datacenter for the local node are defined in
-#    cassandra-rackdc.properties and propagated to other nodes via gossip.  If
-#    cassandra-topology.properties exists, it is used as a fallback, allowing
-#    migration from the PropertyFileSnitch.
-#  - RackInferringSnitch:
-#    Proximity is determined by rack and data center, which are
-#    assumed to correspond to the 3rd and 2nd octet of each node's
-#    IP address, respectively.  Unless this happens to match your
-#    deployment conventions (as it did Facebook's), this is best used
-#    as an example of writing a custom Snitch class.
 #  - Ec2Snitch:
 #    Appropriate for EC2 deployments in a single Region. Loads Region
 #    and Availability Zone information from the EC2 API. The Region is
@@ -568,6 +552,12 @@ cross_node_timeout: false
 #    ssl_storage_port on the public IP firewall.  (For intra-Region
 #    traffic, Cassandra will switch to the private IP after
 #    establishing a connection.)
+#  - RackInferringSnitch:
+#    Proximity is determined by rack and data center, which are
+#    assumed to correspond to the 3rd and 2nd octet of each node's IP
+#    address, respectively.  Unless this happens to match your
+#    deployment conventions, this is best used as an example of
+#    writing a custom Snitch class and is provided in that spirit.
 #
 # You can use a custom Snitch by setting this to the full class name
 # of the snitch, which will be assumed to be on your classpath.


[7/9] git commit: Merge branch 'cassandra-2.0' into cassandra-2.1

Posted by jb...@apache.org.
Merge branch 'cassandra-2.0' into cassandra-2.1


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

Branch: refs/heads/trunk
Commit: 0cd17695f64eedc8eba5a11e019a450dec44fb1a
Parents: ea39c49 f8229c3
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 13:28:52 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:28:52 2014 -0500

----------------------------------------------------------------------
 conf/cassandra.yaml | 60 ++++++++++++++++++++----------------------------
 1 file changed, 25 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/0cd17695/conf/cassandra.yaml
----------------------------------------------------------------------


[8/9] git commit: Merge branch 'cassandra-2.0' into cassandra-2.1

Posted by jb...@apache.org.
Merge branch 'cassandra-2.0' into cassandra-2.1


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

Branch: refs/heads/cassandra-2.1
Commit: 0cd17695f64eedc8eba5a11e019a450dec44fb1a
Parents: ea39c49 f8229c3
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 13:28:52 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:28:52 2014 -0500

----------------------------------------------------------------------
 conf/cassandra.yaml | 60 ++++++++++++++++++++----------------------------
 1 file changed, 25 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/0cd17695/conf/cassandra.yaml
----------------------------------------------------------------------


[6/9] git commit: update comments for partitioner and snitch

Posted by jb...@apache.org.
update comments for partitioner and snitch


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

Branch: refs/heads/cassandra-2.1
Commit: f8229c3fb25c9f823939ac39558e5f29dd46ee3a
Parents: 4f9d050
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Mar 25 13:28:45 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Mar 25 13:28:45 2014 -0500

----------------------------------------------------------------------
 conf/cassandra.yaml | 60 ++++++++++++++++++++----------------------------
 1 file changed, 25 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f8229c3f/conf/cassandra.yaml
----------------------------------------------------------------------
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index d3c91ef..2edd498 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -78,27 +78,16 @@ authorizer: AllowAllAuthorizer
 # Will be disabled automatically for AllowAllAuthorizer.
 permissions_validity_in_ms: 2000
 
-# The partitioner is responsible for distributing rows (by key) across
-# nodes in the cluster.  Any IPartitioner may be used, including your
-# own as long as it is on the classpath.  Out of the box, Cassandra
-# provides org.apache.cassandra.dht.{Murmur3Partitioner, RandomPartitioner
-# ByteOrderedPartitioner, OrderPreservingPartitioner (deprecated)}.
-# 
-# - RandomPartitioner distributes rows across the cluster evenly by md5.
-#   This is the default prior to 1.2 and is retained for compatibility.
-# - Murmur3Partitioner is similar to RandomPartioner but uses Murmur3_128
-#   Hash Function instead of md5.  When in doubt, this is the best option.
-# - ByteOrderedPartitioner orders rows lexically by key bytes.  BOP allows
-#   scanning rows in key order, but the ordering can generate hot spots
-#   for sequential insertion workloads.
-# - OrderPreservingPartitioner is an obsolete form of BOP, that stores
-# - keys in a less-efficient format and only works with keys that are
-#   UTF8-encoded Strings.
-# - CollatingOPP collates according to EN,US rules rather than lexical byte
-#   ordering.  Use this as an example if you need custom collation.
-#
-# See http://wiki.apache.org/cassandra/Operations for more on
-# partitioners and token selection.
+# The partitioner is responsible for distributing groups of rows (by
+# partition key) across nodes in the cluster.  You should leave this
+# alone for new clusters.  The partitioner can NOT be changed without
+# reloading all data, so when upgrading you should set this to the
+# same partitioner you were already using.
+#
+# Besides Murmur3Partitioner, partitioners included for backwards
+# compatibility include RandomPartitioner, ByteOrderedPartitioner, and
+# OrderPreservingPartitioner.
+#
 partitioner: org.apache.cassandra.dht.Murmur3Partitioner
 
 # Directories where Cassandra should store data on disk.  Cassandra
@@ -538,23 +527,18 @@ cross_node_timeout: false
 #
 # Out of the box, Cassandra provides
 #  - SimpleSnitch:
-#    Treats Strategy order as proximity. This improves cache locality
-#    when disabling read repair, which can further improve throughput.
-#    Only appropriate for single-datacenter deployments.
+#    Treats Strategy order as proximity. This can improve cache
+#    locality when disabling read repair.  Only appropriate for
+#    single-datacenter deployments.
+#  - GossipingPropertyFileSnitch
+#    This should be your go-to snitch for production use.  The rack
+#    and datacenter for the local node are defined in
+#    cassandra-rackdc.properties and propagated to other nodes via
+#    gossip.  If cassandra-topology.properties exists, it is used as a
+#    fallback, allowing migration from the PropertyFileSnitch.
 #  - PropertyFileSnitch:
 #    Proximity is determined by rack and data center, which are
 #    explicitly configured in cassandra-topology.properties.
-#  - GossipingPropertyFileSnitch
-#    The rack and datacenter for the local node are defined in
-#    cassandra-rackdc.properties and propagated to other nodes via gossip.  If
-#    cassandra-topology.properties exists, it is used as a fallback, allowing
-#    migration from the PropertyFileSnitch.
-#  - RackInferringSnitch:
-#    Proximity is determined by rack and data center, which are
-#    assumed to correspond to the 3rd and 2nd octet of each node's
-#    IP address, respectively.  Unless this happens to match your
-#    deployment conventions (as it did Facebook's), this is best used
-#    as an example of writing a custom Snitch class.
 #  - Ec2Snitch:
 #    Appropriate for EC2 deployments in a single Region. Loads Region
 #    and Availability Zone information from the EC2 API. The Region is
@@ -568,6 +552,12 @@ cross_node_timeout: false
 #    ssl_storage_port on the public IP firewall.  (For intra-Region
 #    traffic, Cassandra will switch to the private IP after
 #    establishing a connection.)
+#  - RackInferringSnitch:
+#    Proximity is determined by rack and data center, which are
+#    assumed to correspond to the 3rd and 2nd octet of each node's IP
+#    address, respectively.  Unless this happens to match your
+#    deployment conventions, this is best used as an example of
+#    writing a custom Snitch class and is provided in that spirit.
 #
 # You can use a custom Snitch by setting this to the full class name
 # of the snitch, which will be assumed to be on your classpath.