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..
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)
Googling didn't show me the way.. Could anyone help me with this please?
Thanks,
Andrey
2013/12/25 Andrey Razumovsky <razumovsky.and...@gmail.com>
> Hi everyone,
>
> I'm trying to use sstableloader to import large amounts of data into my
> cassandra-2.0.3 instance (single node). I've created sstables directory and
> not running
> > sstableloader -d localhost <path_to_tables>
>
> but the process just starts and prints nothing at all! I've no idea
> whether it is doing anything - is there a way to see the output and
> progress? Or is the process just hanging?
>
> Thanks,
> Andrey
>