[ 
https://issues.apache.org/jira/browse/CASSANDRA-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932717#action_12932717
 ] 

Jonathan Ellis commented on CASSANDRA-1698:
-------------------------------------------

Getting build errors w/ 0.7 patch.

{code}
    [javac] 
/Users/jonathan/projects/cassandra/svn-trunk/src/java/org/apache/cassandra/utils/EstimatedHistogram.java:191:
 getBucketOffsets() is already defined in 
org.apache.cassandra.utils.EstimatedHistogram
    [javac]     public static long[] getBucketOffsets()
    [javac]                          ^
    [javac] 
/Users/jonathan/projects/cassandra/svn-trunk/src/java/org/apache/cassandra/tools/NodeCmd.java:376:
 printCfHistograms(java.lang.String,java.lang.String,java.io.PrintStream) is 
already defined in org.apache.cassandra.tools.NodeCmd
    [javac]     private void printCfHistograms(String keySpace, String 
columnFamily, PrintStream output)
    [javac]                  ^
    [javac] 
/Users/jonathan/projects/cassandra/svn-trunk/src/java/org/apache/cassandra/utils/EstimatedHistogram.java:193:
 non-static variable bucketOffsets cannot be referenced from a static context
    [javac]         return bucketOffsets;
    [javac]                ^
    [javac] 
/Users/jonathan/projects/cassandra/svn-trunk/src/java/org/apache/cassandra/tools/NodeCmd.java:357:
 non-static method getBucketOffsets() cannot be referenced from a static context
    [javac]         long[] offsets = EstimatedHistogram.getBucketOffsets();
    [javac]                                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 4 errors
{code}

> nodetool cfhistograms
> ---------------------
>
>                 Key: CASSANDRA-1698
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1698
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.6.9
>
>         Attachments: CASSANDRA-1698-for-0.6-v2.patch, 
> CASSANDRA-1698-for-0.6.patch, CASSANDRA-1698-for-0.7.patch
>
>
> we need a nodetool command that outputs columnfamilystore 
> RecentReadLatencyHistogramMicros, RecentReadLatencyHistogramMicros, and (for 
> 0.7) getRecentReadLatencyHistogramMicros.
> i'd like this to be in a vertical display with the histogram bucket values 
> from EstimatedHistogram displayed.  Like this:
> {code}
> 1               0
> 15              1        
> 18            542        
> 22           8091        
> 79         198290        
> 114         47248        
> 850           114        
> 1020           37
> etc
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to