cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [07/11] git commit: add live/tombstoned histogram counts to cfstats patch by Mikhail Stepura; reviewed by jbellis for CASSANDRA-5889
Date Tue, 08 Oct 2013 20:41:53 GMT
add live/tombstoned histogram counts to cfstats
patch by Mikhail Stepura; reviewed by jbellis for CASSANDRA-5889


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

Branch: refs/heads/cassandra-2.0
Commit: f31e399abe01c0e78f3b8289c562c2f279f04c2c
Parents: 99b40fd
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Tue Oct 8 15:37:58 2013 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Tue Oct 8 15:37:58 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/ColumnFamilyStoreMBean.java | 2 ++
 src/java/org/apache/cassandra/tools/NodeCmd.java             | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f31e399a/src/java/org/apache/cassandra/db/ColumnFamilyStoreMBean.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/ColumnFamilyStoreMBean.java b/src/java/org/apache/cassandra/db/ColumnFamilyStoreMBean.java
index ef58c86..9ee7568 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStoreMBean.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStoreMBean.java
@@ -287,9 +287,11 @@ public interface ColumnFamilyStoreMBean
     public void disableAutoCompaction();
 
     /** Number of tombstoned cells retreived during the last slicequery */
+    @Deprecated
     public double getTombstonesPerSlice();
 
     /** Number of live cells retreived during the last slicequery */
+    @Deprecated
     public double getLiveCellsPerSlice();
 
     public long estimateKeys();

http://git-wip-us.apache.org/repos/asf/cassandra/blob/f31e399a/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 4416a37..86f9eef 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -916,6 +916,8 @@ public class NodeCmd
                 outs.println("\t\tCompacted row minimum size: " + cfstore.getMinRowSize());
                 outs.println("\t\tCompacted row maximum size: " + cfstore.getMaxRowSize());
                 outs.println("\t\tCompacted row mean size: " + cfstore.getMeanRowSize());
+                outs.println("\t\tAverage live cells per slice (last five minutes): " + cfstore.getLiveCellsPerSlice());
+                outs.println("\t\tAverage tombstones per slice (last five minutes): " + cfstore.getTombstonesPerSlice());
 
                 outs.println("");
             }


Mime
View raw message