You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Lohfink (JIRA)" <ji...@apache.org> on 2013/07/20 01:16:48 UTC

[jira] [Commented] (CASSANDRA-5781) Providing multiple keys to sstable2json results in invalid json

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

Chris Lohfink commented on CASSANDRA-5781:
------------------------------------------

patch to print comma before instead of after row
https://github.com/clohfink/cassandra/commit/b7307a618090cd802c42f34482723a78f720f79a
                
> Providing multiple keys to sstable2json results in invalid json
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-5781
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5781
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.0 beta 1
>            Reporter: Chris Lohfink
>            Priority: Minor
>         Attachments: patch
>
>
> if you pass multiple keys via the -k parameter to sstable for json the 2nd row will be appended to the end of the first without a comma.  It would look like so:
> {code}
> sstable2json foo-Data.db -k key1 -k key2 -k key3 -k key4
> {
> key1 : [[]...]key2: [[]...],
> key3 : [[]...],
> key4 : [[]...]
> }
> {code}

--
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