Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 b337c690d -> 16a5e8217
  refs/heads/cassandra-3.11 c3a19f355 -> 613ddc0a2
  refs/heads/trunk d23afc54d -> 36da706be


Fixed ambiguous output of nodetool tablestats command

patch by Milan Milosevic, reviewed by jasobrown for CASSANDRA-13722


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

Branch: refs/heads/cassandra-3.0
Commit: 16a5e8217f95dfd9f644718259269b68e27185f0
Parents: b337c69
Author: Milan Milosevic <[email protected]>
Authored: Sun Jul 23 12:06:59 2017 +0200
Committer: Jason Brown <[email protected]>
Committed: Mon Jul 24 05:45:15 2017 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                  | 1 +
 src/java/org/apache/cassandra/tools/nodetool/TableStats.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/16a5e821/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index efa57b3..c420164 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.0.15
+ * Fixed ambiguous output of nodetool tablestats command (CASSANDRA-13722)
  * JMXEnabledThreadPoolExecutor with corePoolSize equal to maxPoolSize 
(Backport CASSANDRA-13329)
  * Purge tombstones created by expired cells (CASSANDRA-13643)
  * Make concat work with iterators that have different subsets of columns 
(CASSANDRA-13482)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/16a5e821/src/java/org/apache/cassandra/tools/nodetool/TableStats.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/nodetool/TableStats.java 
b/src/java/org/apache/cassandra/tools/nodetool/TableStats.java
index bb7f192..c7d0d30 100644
--- a/src/java/org/apache/cassandra/tools/nodetool/TableStats.java
+++ b/src/java/org/apache/cassandra/tools/nodetool/TableStats.java
@@ -191,7 +191,7 @@ public class TableStats extends NodeToolCmd
                 {
                     estimatedPartitionCount = 0L;
                 }
-                System.out.println("\t\tNumber of keys (estimate): " + 
estimatedPartitionCount);
+                System.out.println("\t\tNumber of partitions (estimate): " + 
estimatedPartitionCount);
 
                 System.out.println("\t\tMemtable cell count: " + 
probe.getColumnFamilyMetric(keyspaceName, tableName, "MemtableColumnsCount"));
                 System.out.println("\t\tMemtable data size: " + format((Long) 
probe.getColumnFamilyMetric(keyspaceName, tableName, "MemtableLiveDataSize"), 
humanReadable));


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to