zhaoyan created CASSANDRA-10303:
-----------------------------------

             Summary: stream always hang up when use rebuild
                 Key: CASSANDRA-10303
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10303
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: jdk1.7
cassandra 2.1.8
            Reporter: zhaoyan


we add another datacenter.
use nodetool rebuild DC1
stream from some node of old datacenter always hang up with these exception:

ERROR [Thread-1472] 2015-09-10 19:24:53,091 CassandraDaemon.java:223 - 
Exception in thread Thread[Thread-1472,5,RMI Runtime]
java.lang.RuntimeException: java.io.IOException: Connection timed out
    at com.google.common.base.Throwables.propagate(Throwables.java:160) 
~[guava-16.0.jar:na]
    at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32) 
~[apache-cassandra-2.1.8.jar:2.1.8]
    at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_60]
Caused by: java.io.IOException: Connection timed out
    at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[na:1.7.0_60]
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[na:1.7.0_60]
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[na:1.7.0_60]
    at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[na:1.7.0_60]
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) 
~[na:1.7.0_60]
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:59) 
~[na:1.7.0_60]
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109) 
~[na:1.7.0_60]
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) 
~[na:1.7.0_60]
    at 
org.apache.cassandra.streaming.compress.CompressedInputStream$Reader.runMayThrow(CompressedInputStream.java:172)
 ~[apache-cassandra-2.1.8.jar:2.1.8]
    at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) 
~[apache-cassandra-2.1.8.jar:2.1.8]
    ... 1 common frames omitted

i must restart node to stop current rebuild, and rebuild agagin and again to 
success....



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

Reply via email to