cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Jurik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6316) json2sstable breaks on RangeTombstone
Date Fri, 08 Nov 2013 11:08:19 GMT
Matt Jurik created CASSANDRA-6316:
-------------------------------------

             Summary: 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
            Priority: Minor


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