You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2011/06/28 18:28:16 UTC
[jira] [Created] (CASSANDRA-2836) Add CFS.estimatedKeys to cfstats
output
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
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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-SVN&view=rev&rev=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
[jira] [Assigned] (CASSANDRA-2836) Add CFS.estimatedKeys to cfstats
output
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams reassigned CASSANDRA-2836:
-------------------------------------------
Assignee: Joe Stein
> 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
[jira] [Resolved] (CASSANDRA-2836) Add CFS.estimatedKeys to cfstats
output
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams resolved CASSANDRA-2836.
-----------------------------------------
Resolution: Fixed
Committed, thanks!
> 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
[jira] [Commented] (CASSANDRA-2836) Add CFS.estimatedKeys to
cfstats output
Posted by "Joe Stein (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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] [Updated] (CASSANDRA-2836) Add CFS.estimatedKeys to cfstats
output
Posted by "Joe Stein (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Stein updated CASSANDRA-2836:
---------------------------------
Attachment: 2836.txt
> 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
>
> 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