cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10466) json2sstable import failing
Date Wed, 07 Oct 2015 18:24:27 GMT
Brandon Williams created CASSANDRA-10466:
--------------------------------------------

             Summary: json2sstable import failing
                 Key: CASSANDRA-10466
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10466
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Brandon Williams
             Fix For: 2.1.x


In CASANDRA-7477 we fixed part of this, but it's still possible to have a variant of this
problem:

{noformat}
Importing 1 keys...
java.lang.ClassCastException: org.apache.cassandra.db.composites.CompoundComposite cannot
be cast to org.apache.cassandra.db.composites.CellName
        at org.apache.cassandra.db.composites.AbstractCellNameType.cellFromByteBuffer(AbstractCellNameType.java:188)
        at org.apache.cassandra.tools.SSTableImport$JsonColumn.<init>(SSTableImport.java:145)
        at org.apache.cassandra.tools.SSTableImport.addColumnsToCF(SSTableImport.java:213)
        at org.apache.cassandra.tools.SSTableImport.importUnsorted(SSTableImport.java:327)
        at org.apache.cassandra.tools.SSTableImport.importJson(SSTableImport.java:287)
        at org.apache.cassandra.tools.SSTableImport.main(SSTableImport.java:514)
ERROR: org.apache.cassandra.db.composites.CompoundComposite cannot be cast to org.apache.cassandra.db.composites.CellName
{noformat}

I can provide the schema and json file offline if needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message