You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2015/12/16 21:07:46 UTC

[jira] [Commented] (CASSANDRA-10838) print 3.0 statistics in sstablemetadata command output

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

Yuki Morishita commented on CASSANDRA-10838:
--------------------------------------------

Thanks for the patch!

||branch||testall||dtest||
|[10838|https://github.com/yukim/cassandra/tree/10838]|[testall|http://cassci.datastax.com/view/Dev/view/yukim/job/yukim-10838-testall/lastCompletedBuild/testReport/]|[dtest|http://cassci.datastax.com/view/Dev/view/yukim/job/yukim-10838-dtest/lastCompletedBuild/testReport/]|

dtest shows offline_tools_test.py is failing and I see the following exception.

{code}
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:653)
    at java.util.ArrayList.get(ArrayList.java:429)
    at org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:98)
{code}

Can you add index check to the code and re-submit the patch?

> print 3.0 statistics in sstablemetadata command output
> ------------------------------------------------------
>
>                 Key: CASSANDRA-10838
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10838
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Shogo Hoshii
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: CASSANDRA-10838.txt, sample_result.txt
>
>
> In CASSANDRA-7159, some statistics were added in 2.1.x, and in version 3.0, we can print additional statistics.
> So I would like to print them in sstablemetadata output.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)