cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerome Basa <jeromeb...@gmail.com>
Subject Node bootstrap error
Date Thu, 30 Nov 2017 12:24:47 GMT
Hello,

Am adding a new node to a cluster, bootstrap failed with the following errors:


WARN  [STREAM-IN-/111.11.11.193] 2017-11-30 04:44:05,825 CompressedStreamReader.java:119 -
[Stream c9d90a60-d56f-11e7-a95c-39e84a08567f] Error while reading partition null from stream
on ks='system_auth' and table='roles'.
ERROR [STREAM-IN-/111.11.11.193] 2017-11-30 04:44:05,856 StreamSession.java:534 - [Stream
#c9d90a60-d56f-11e7-a95c-39e84a08567f] Streaming error occurred
java.io.IOException: Compressed lengths mismatch
        at org.apache.cassandra.io.compress.LZ4Compressor.uncompress(LZ4Compressor.java:98)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.compress.CompressedInputStream.decompress(CompressedInputStream.java:135)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.compress.CompressedInputStream.read(CompressedInputStream.java:113)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at java.io.FilterInputStream.read(FilterInputStream.java:83) ~[na:1.8.0_60]
        at org.apache.cassandra.io.util.TrackedInputStream.read(TrackedInputStream.java:51)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:337) ~[na:1.8.0_60]
        at org.apache.cassandra.utils.ByteBufferUtil.readShortLength(ByteBufferUtil.java:368)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:378)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.StreamReader$StreamDeserializer.newPartition(StreamReader.java:216)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.StreamReader.writePartition(StreamReader.java:172)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.compress.CompressedStreamReader.read(CompressedStreamReader.java:107)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:54)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:43)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:59)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:294)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:79)
[apache-cassandra-3.0.14.jar:3.0.14]
        at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60]
INFO  [STREAM-IN-/111.11.11.193] 2017-11-30 04:44:05,869 StreamResultFuture.java:183 - [Stream
#c9d90a60-d56f-11e7-a95c-39e84a08567f] Session with /111.11.11.193 is complete
WARN  [STREAM-IN-/111.11.11.193] 2017-11-30 04:44:05,870 StreamResultFuture.java:210 - [Stream
#c9d90a60-d56f-11e7-a95c-39e84a08567f] Stream failed
WARN  [STREAM-IN-/111.11.11.193] 2017-11-30 04:44:05,871 StorageService.java:1225 - Error
during bootstrap.
org.apache.cassandra.streaming.StreamException: Stream failed
        at org.apache.cassandra.streaming.management.StreamEventJMXNotifier.onFailure(StreamEventJMXNotifier.java:85)
~[apache-cassandra-3.0.14.jar:3.0.14]
        at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310) [guava-18.0.jar:na]
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
[guava-18.0.jar:na]
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
[guava-18.0.jar:na]
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
[guava-18.0.jar:na]
        at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:202)
[guava-18.0.jar:na]
        at org.apache.cassandra.streaming.StreamResultFuture.maybeComplete(StreamResultFuture.java:211)
[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.StreamResultFuture.handleSessionComplete(StreamResultFuture.java:187)
[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.StreamSession.closeSession(StreamSession.java:440)
[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.StreamSession.onError(StreamSession.java:540) [apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:307)
[apache-cassandra-3.0.14.jar:3.0.14]
        at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:79)
[apache-cassandra-3.0.14.jar:3.0.14]
        at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60]
ERROR [main] 2017-11-30 04:44:05,871 StorageService.java:1235 - Error while waiting on bootstrap
to complete. Bootstrap will have to be restarted.
java.util.concurrent.ExecutionException: org.apache.cassandra.streaming.StreamException: Stream
failed


I did try `nodetool bootstrap resume` and got the same error. Looks like it keeps failing
on this:

Error while reading partition null from stream on ks=‘system_auth' and table='roles'.

Any idea why? Thanks


-jerome



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org


Mime
View raw message