cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Bishop (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11042) Dropping a keyspace while nodes are joining causes them to fail
Date Wed, 20 Jan 2016 09:01:39 GMT
Stuart Bishop created CASSANDRA-11042:
-----------------------------------------

             Summary: Dropping a keyspace while nodes are joining causes them to fail
                 Key: CASSANDRA-11042
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11042
             Project: Cassandra
          Issue Type: Bug
          Components: Streaming and Messaging
            Reporter: Stuart Bishop
            Priority: Minor


Bootstrap a node and watch it happily enter joining state and start streaming data.

Decide you don't want to wait that long and drop a keyspace containing a pile of unnecessary
data.

Notice that the new joining node is now missing from 'juju status'

Discover the traceback in system.log:

java.io.IOException: CF 6ce71111-8fa0-11e5-927b-ef57ab5def0e was dropped during streaming
        at org.apache.cassandra.streaming.compress.CompressedStreamReader.read(CompressedStreamReader.java:71)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
        at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:48)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
        at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:38)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
        at org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:56)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
        at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:250)
~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
INFO  [STREAM-IN-/xx.xx.xx.xx] 2016-01-20 08:50:42,693  StreamResultFuture.java:180 - [Stream
#fed0fe30-bf4b-11e5-8a4b-1bb9093d5923] Session with /xx.xx.xx.xx is complete
WARN  [STREAM-IN-/xx.xx.xx.xx] 2016-01-20 08:50:42,693  StreamResultFuture.java:207 - [Stream
#fed0fe30-bf4b-11e5-8a4b-1bb9093d5923] Stream failed
ERROR [main] 2016-01-20 08:50:42,694  CassandraDaemon.java:581 - Exception encountered during
startup
java.lang.RuntimeException: Error during boostrap: Stream failed




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message