[jira] [Commented] (CASSANDRA-2836) Add CFS.estimatedKeys to cfstats output

2011-06-28 Thread Joe Stein (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13056654#comment-13056654
 ] 

Joe Stein commented on CASSANDRA-2836:
--

so the change looks like adding something like this

{code}

outs.println(\t\tNumber of Keys (estimate):  + cfstore.estimateKeys());

{code}

maybe between

{code}

outs.println(\t\tSpace used (total):  + cfstore.getTotalDiskSpaceUsed());
outs.println(\t\tNumber of Keys (estimate):  + cfstore.estimateKeys());   

outs.println(\t\tMemtable Columns Count:  + 
cfstore.getMemtableColumnsCount());

{code}

makes sense

in src/java/org/apache/cassandra/tools/NodeCmd.java



 Add CFS.estimatedKeys to cfstats output
 ---

 Key: CASSANDRA-2836
 URL: https://issues.apache.org/jira/browse/CASSANDRA-2836
 Project: Cassandra
  Issue Type: Improvement
  Components: Core
Reporter: Brandon Williams
Priority: Trivial
 Fix For: 0.8.2


 People ask for this all the time and making them resort to the hell that is 
 JMX is not pleasant.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CASSANDRA-2836) Add CFS.estimatedKeys to cfstats output

2011-06-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13056799#comment-13056799
 ] 

Hudson commented on CASSANDRA-2836:
---

Integrated in Cassandra-0.8 #197 (See 
[https://builds.apache.org/job/Cassandra-0.8/197/])
Add CFS.estimatedKeys to cfstats output.
Patch by Joe Stein, reviewed by brandonwilliams for CASSANDRA-2836

brandonwilliams : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1140759
Files : 
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/tools/NodeCmd.java


 Add CFS.estimatedKeys to cfstats output
 ---

 Key: CASSANDRA-2836
 URL: https://issues.apache.org/jira/browse/CASSANDRA-2836
 Project: Cassandra
  Issue Type: Improvement
  Components: Core
Reporter: Brandon Williams
Assignee: Joe Stein
Priority: Trivial
 Fix For: 0.8.2

 Attachments: 2836.txt


 People ask for this all the time and making them resort to the hell that is 
 JMX is not pleasant.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira