You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jim Witschey (JIRA)" <ji...@apache.org> on 2015/09/14 22:41:46 UTC

[jira] [Commented] (CASSANDRA-10303) streaming for 'nodetool rebuild' fails after adding a datacenter

    [ https://issues.apache.org/jira/browse/CASSANDRA-10303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14744225#comment-14744225 ] 

Jim Witschey commented on CASSANDRA-10303:
------------------------------------------

[~zhaoyan] I'm unable to reproduce locally with [ccm|https://github.com/pcmanus/ccm/]. Have you been able to reproduce this with a fresh cluster?

In the failure you described in your comment, after changing configurations with {{sysctl}}, were you able to get the rebuild to succeed by running it again?

> streaming for 'nodetool rebuild' fails after adding a datacenter 
> -----------------------------------------------------------------
>
>                 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:
> {code}
> 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
> {code}
> 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)