cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom van der Woerdt (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-12008) Allow retrying failed streams (or stop them from failing)
Date Tue, 14 Jun 2016 20:13:30 GMT
Tom van der Woerdt created CASSANDRA-12008:

             Summary: Allow retrying failed streams (or stop them from failing)
                 Key: CASSANDRA-12008
             Project: Cassandra
          Issue Type: Bug
          Components: Lifecycle
            Reporter: Tom van der Woerdt

We're dealing with large data sets (multiple terabytes per node) and sometimes we need to
add or remove nodes. These operations are very dependent on the entire cluster being up, so
while we're joining a new node (which sometimes takes 6 hours or longer) a lot can go wrong
and in a lot of cases something does.

It would be great if the ability to retry streams was implemented.

Example to illustrate the problem :

03:18 PM   ~ $ nodetool decommission
error: Stream failed
-- StackTrace --
org.apache.cassandra.streaming.StreamException: Stream failed
        at org.apache.cassandra.streaming.StreamResultFuture.maybeComplete(
        at org.apache.cassandra.streaming.StreamResultFuture.handleSessionComplete(
        at org.apache.cassandra.streaming.StreamSession.closeSession(
        at org.apache.cassandra.streaming.StreamSession.complete(
        at org.apache.cassandra.streaming.StreamSession.messageReceived(
        at org.apache.cassandra.streaming.ConnectionHandler$

08:04 PM   ~ $ nodetool decommission
nodetool: Unsupported operation: Node in LEAVING state; wait for status to become normal or
See 'nodetool help' or 'nodetool help <command>'.

Streaming failed, probably due to load :
ERROR [STREAM-IN-/<ipaddr>] 2016-06-14 18:05:47,275 - [Stream
#<streamid>] Streaming error occurred null
        at$ ~[na:1.8.0_77]
        at ~[na:1.8.0_77]
        at java.nio.channels.Channels$ ~[na:1.8.0_77]
        at org.apache.cassandra.streaming.messages.StreamMessage.deserialize(
        at org.apache.cassandra.streaming.ConnectionHandler$
        at [na:1.8.0_77]

If implementing retries is not possible, can we have a 'nodetool decommission resume'?

This message was sent by Atlassian JIRA

View raw message