cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: sstableloader prints nothing
Date Mon, 06 Jan 2014 17:56:01 GMT
Hi Tyler,

Sorry for late response - I create table using
create table ip_lookup (ip varchar PRIMARY KEY, domains varchar);

Thanks,
Andrey


2013/12/26 Tyler Hobbs <tyler@datastax.com>

>
> 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