cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Michalski (JIRA) <>
Subject [jira] [Updated] (CASSANDRA-5694) Allow sstable2json to dump SecondaryIndex SSTables
Date Mon, 24 Jun 2013 19:32:20 GMT


Michał Michalski updated CASSANDRA-5694:

    Attachment: sstable2json-for-2i-v2.txt

Attaching v2: no StorageService, use Schema.instance.getKsMetaData to check if keyspace name
is valid and then instantiate Table using on ksname from Descriptor.
> Allow sstable2json to dump SecondaryIndex SSTables
> --------------------------------------------------
>                 Key: CASSANDRA-5694
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Michał Michalski
>            Assignee: Michał Michalski
>            Priority: Minor
>         Attachments: sstable2json-for-2i-v1.txt, sstable2json-for-2i-v2.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:

View raw message