cleanup

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

Branch: refs/heads/trunk
Commit: 71c89128279af4ef9f1a990b022f77e05f5aafb8
Parents: 723abe2
Author: Jonathan Ellis <jbel...@apache.org>
Authored: Thu Oct 3 09:53:00 2013 -0500
Committer: Jonathan Ellis <jbel...@apache.org>
Committed: Thu Oct 3 12:03:24 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/NodeCmd.java | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/71c89128/src/java/org/apache/cassandra/tools/NodeCmd.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java 
b/src/java/org/apache/cassandra/tools/NodeCmd.java
index 00375ab..657d7f2 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -880,17 +880,17 @@ public class NodeCmd
                 outs.println("\t\tMemtable cell count: " + 
cfstore.getMemtableColumnsCount());
                 outs.println("\t\tMemtable data size, bytes: " + 
cfstore.getMemtableDataSize());
                 outs.println("\t\tMemtable switch count: " + 
cfstore.getMemtableSwitchCount());
-                outs.println("\t\tRead count: " + cfstore.getReadCount());
-                outs.println("\t\tRead latency, micros: " + 
String.format("%01.3f", cfstore.getRecentReadLatencyMicros() / 1000) + " ms.");
-                outs.println("\t\tWrite count: " + cfstore.getWriteCount());
-                outs.println("\t\tWrite latency, micros: " + 
String.format("%01.3f", cfstore.getRecentWriteLatencyMicros() / 1000) + " ms.");
+                outs.println("\t\tLocal read count: " + 
cfstore.getReadCount());
+                outs.printf("\t\tLocal read latency: %01.3f ms%n", 
cfstore.getRecentReadLatencyMicros() / 1000);
+                outs.println("\t\tLocal write count: " + 
cfstore.getWriteCount());
+                outs.printf("\t\tLocal write latency: %01.3f ms%n", 
cfstore.getRecentWriteLatencyMicros() / 1000);
                 outs.println("\t\tPending tasks: " + 
cfstore.getPendingTasks());
                 outs.println("\t\tBloom filter false positives: " + 
cfstore.getBloomFilterFalsePositives());
                 outs.println("\t\tBloom filter false ratio: " + 
String.format("%01.5f", cfstore.getRecentBloomFilterFalseRatio()));
                 outs.println("\t\tBloom filter space used, bytes: " + 
cfstore.getBloomFilterDiskSpaceUsed());
-                outs.println("\t\tCompacted partition minimum size, bytes: " + 
cfstore.getMinRowSize());
-                outs.println("\t\tCompacted partition maximum size, bytes: " + 
cfstore.getMaxRowSize());
-                outs.println("\t\tCompacted partition mean size, bytes: " + 
cfstore.getMeanRowSize());
+                outs.println("\t\tCompacted partition minimum bytes: " + 
cfstore.getMinRowSize());
+                outs.println("\t\tCompacted partition maximum bytes: " + 
cfstore.getMaxRowSize());
+                outs.println("\t\tCompacted partition mean bytes: " + 
cfstore.getMeanRowSize());
 
                 outs.println("");
             }

Reply via email to