improve Validator output a bit

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

Branch: refs/heads/cassandra-2.0
Commit: c0ba85a40012ef65b7f563a09817da3c0cf04e5c
Parents: 70997ac
Author: Jonathan Ellis <jbel...@apache.org>
Authored: Fri Nov 1 21:27:30 2013 -0500
Committer: Jonathan Ellis <jbel...@apache.org>
Committed: Sat Nov 2 09:09:09 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/repair/Validator.java         | 4 ++--
 src/java/org/apache/cassandra/utils/EstimatedHistogram.java | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c0ba85a4/src/java/org/apache/cassandra/repair/Validator.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/repair/Validator.java 
b/src/java/org/apache/cassandra/repair/Validator.java
index e7efcaa..abf5eac 100644
--- a/src/java/org/apache/cassandra/repair/Validator.java
+++ b/src/java/org/apache/cassandra/repair/Validator.java
@@ -211,9 +211,9 @@ public class Validator implements Runnable
         if (logger.isDebugEnabled())
         {
             // log distribution of rows in tree
-            logger.debug("Validated " + validated + " rows into AEService tree 
for " + desc + " with row count distribution:");
+            logger.debug("Validated {} partitions for {}.  Partitions per leaf 
are:", validated, desc.sessionId);
             tree.histogramOfRowCountPerLeaf().log(logger);
-            logger.debug("Validated " + validated + " rows into AEService tree 
for " + desc + " with row size distribution:");
+            logger.debug("Validated {} partitions for {}.  Partition sizes 
are:", validated, desc.sessionId);
             tree.histogramOfRowSizePerLeaf().log(logger);
         }
     }

http://git-wip-us.apache.org/repos/asf/cassandra/blob/c0ba85a4/src/java/org/apache/cassandra/utils/EstimatedHistogram.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/utils/EstimatedHistogram.java 
b/src/java/org/apache/cassandra/utils/EstimatedHistogram.java
index 3a30290..1b8ffe1 100644
--- a/src/java/org/apache/cassandra/utils/EstimatedHistogram.java
+++ b/src/java/org/apache/cassandra/utils/EstimatedHistogram.java
@@ -234,7 +234,6 @@ public class EstimatedHistogram
      */
     public void log(Logger log)
     {
-
         // only print overflow if there is any
         int nameCount;
         if (buckets.get(buckets.length() - 1) == 0)

Reply via email to