cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6316) json2sstable breaks on RangeTombstone
Date Thu, 28 Nov 2013 02:10:36 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey Yeschenko updated CASSANDRA-6316:
-----------------------------------------

    Fix Version/s: 1.2.13

> json2sstable breaks on RangeTombstone
> -------------------------------------
>
>                 Key: CASSANDRA-6316
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6316
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: 1.2.10
>            Reporter: Matt Jurik
>            Assignee: Lyuben Todorov
>            Priority: Minor
>             Fix For: 1.2.13
>
>         Attachments: 6316.diff, 6316_cassandra-2.0.diff
>
>
> It seems that sstable2json writes out json which json2sstable has trouble reading.
> {code}
> java.lang.NumberFormatException: An hex string representing bytes must have an even length
> 	at org.apache.cassandra.utils.Hex.hexToBytes(Hex.java:52)
> 	at org.apache.cassandra.utils.ByteBufferUtil.hexToBytes(ByteBufferUtil.java:503)
> 	at org.apache.cassandra.tools.SSTableImport.stringAsType(SSTableImport.java:572)
> 	at org.apache.cassandra.tools.SSTableImport.access$000(SSTableImport.java:66)
> 	at org.apache.cassandra.tools.SSTableImport$JsonColumn.<init>(SSTableImport.java:158)
> 	at org.apache.cassandra.tools.SSTableImport.addColumnsToCF(SSTableImport.java:229)
> 	at org.apache.cassandra.tools.SSTableImport.addToStandardCF(SSTableImport.java:212)
> 	at org.apache.cassandra.tools.SSTableImport.importUnsorted(SSTableImport.java:361)
> 	at org.apache.cassandra.tools.SSTableImport.importJson(SSTableImport.java:318)
> 	at org.apache.cassandra.tools.SSTableImport.main(SSTableImport.java:537)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
> ERROR: An hex string representing bytes must have an even length
> 12345:2:!
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message