cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 土卜皿 <pengcz.n...@gmail.com>
Subject why I got error "Could not retrieve endpoint rangs" when I run sstableloader?
Date Mon, 28 Dec 2015 23:28:28 GMT
hi, all
   I used the sstableloader many times successfully, but I got the
following error:

[root@localhost pengcz]# /usr/local/cassandra/bin/sstableloader -u user -pw
password -v -d 172.21.0.131 ./currentdata/keyspace/table

Could not retrieve endpoint ranges:
java.lang.IllegalArgumentException
java.lang.RuntimeException: Could not retrieve endpoint ranges:
        at
org.apache.cassandra.tools.BulkLoader$ExternalClient.init(BulkLoader.java:338)
        at
org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:156)
        at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:106)
Caused by: java.lang.IllegalArgumentException
        at java.nio.Buffer.limit(Buffer.java:267)
        at
org.apache.cassandra.utils.ByteBufferUtil.readBytes(ByteBufferUtil.java:543)
        at
org.apache.cassandra.serializers.CollectionSerializer.readValue(CollectionSerializer.java:124)
        at
org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(MapSerializer.java:101)
        at
org.apache.cassandra.serializers.MapSerializer.deserializeForNativeProtocol(MapSerializer.java:30)
        at
org.apache.cassandra.serializers.CollectionSerializer.deserialize(CollectionSerializer.java:50)
        at
org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:68)
        at
org.apache.cassandra.cql3.UntypedResultSet$Row.getMap(UntypedResultSet.java:287)
        at
org.apache.cassandra.config.CFMetaData.fromSchemaNoTriggers(CFMetaData.java:1833)
        at
org.apache.cassandra.config.CFMetaData.fromThriftCqlRow(CFMetaData.java:1126)
        at
org.apache.cassandra.tools.BulkLoader$ExternalClient.init(BulkLoader.java:330)
        ... 2 more

I don't know whether this error is relative to one of cluster nodes' linux
crash?

Any advice will be appreciated!

Dillon Peng

Mime
View raw message