incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: sstableloader prints nothing
Date Thu, 26 Dec 2013 18:36:15 GMT
On Wed, Dec 25, 2013 at 11:29 AM, Andrey Razumovsky <
razumovsky.andrey@gmail.com> wrote:

> OK, I  figured that out - turns out that my sstables were in directory
> <keyspace_name> but not in <keyspace_name>/<family_name>. Would be
great to
> have a proper error message here..


I've opened a ticket to fix this:
https://issues.apache.org/jira/browse/CASSANDRA-6529


However, I still can't import the data. The exception I get on server now
looks like this:
 WARN [STREAM-IN-/127.0.1.1] 2013-12-25 18:20:09,686 StreamSession.java
(line 519) [Stream #4ec06a70-6d6e-11e3-85ae-9b0764b01181] Retrying for
following error
java.lang.IllegalArgumentException
        at java.nio.Buffer.limit(Buffer.java:267)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.getBytes(AbstractCompositeType.java:55)
         at
org.apache.cassandra.db.marshal.AbstractCompositeType.getWithShortLength(AbstractCompositeType.java:64)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.split(AbstractCompositeType.java:130)
        at
org.apache.cassandra.io.sstable.ColumnNameHelper.minComponents(ColumnNameHelper.java:103)
        at
org.apache.cassandra.io.sstable.SSTableWriter.appendFromStream(SSTableWriter.java:255)
        at
org.apache.cassandra.streaming.StreamReader.writeRow(StreamReader.java:134)
        at
org.apache.cassandra.streaming.StreamReader.read(StreamReader.java:88)
        at
org.apache.cassandra.streaming.messages.FileMessage$1.deserialize(FileMessage.java:55)
        at
org.apache.cassandra.streaming.messages.FileMessage$1.deserialize(FileMessage.java:45)
        at
org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:54)
        at
org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:287)
        at java.lang.Thread.run(Thread.java:724)

What is your schema for this table?

-- 
Tyler Hobbs
DataStax <http://datastax.com/>

Mime
View raw message