You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/06/24 20:58:20 UTC
[jira] [Commented] (CASSANDRA-5694) Allow sstable2json to dump
SecondaryIndex SSTables
[ https://issues.apache.org/jira/browse/CASSANDRA-5694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692254#comment-13692254 ]
Jonathan Ellis commented on CASSANDRA-5694:
-------------------------------------------
Don't we have the information in the filename to figure out what the "parent" CF would be? Not a fan of starting up StorageService here.
> Allow sstable2json to dump SecondaryIndex SSTables
> --------------------------------------------------
>
> Key: CASSANDRA-5694
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5694
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Michał Michalski
> Assignee: Michał Michalski
> Priority: Minor
> Attachments: sstable2json-for-2i-v1.txt
>
>
> When investigating some 2I problems I had, I was pretty disappointed that sstable2json does not allow me to dump SecondaryIndex, saying that "The provided column family is not part of this cassandra database: keyspace = testks, column family = testcf.testcf_col_idx".
> I'm attaching patch that fixes given problem by changing a bit the way that sst2j "validates" the input file. My only concern is that this solution uses StorageService for "validation", so it's a bit heavier than it should, as it has to set everything up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira