Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2D55D057 for ; Fri, 24 May 2013 14:56:23 +0000 (UTC) Received: (qmail 53154 invoked by uid 500); 24 May 2013 14:56:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52899 invoked by uid 500); 24 May 2013 14:56:19 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 52888 invoked by uid 99); 24 May 2013 14:56:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 14:56:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mor.yuki@gmail.com designates 209.85.215.41 as permitted sender) Received: from [209.85.215.41] (HELO mail-la0-f41.google.com) (209.85.215.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 14:56:13 +0000 Received: by mail-la0-f41.google.com with SMTP id ee20so4576622lab.14 for ; Fri, 24 May 2013 07:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=d+rp3QOnAJeOFNlEKTukZhFSiEtP8G588X3SOgmRZjw=; b=tHZVqJRWyL99l4PhaMOW6ZiclXI7/GU7Kj3nar70SHTAE7TtSdS1TGWCjj1hWofDyl q+JyNsopmdA21kl9BE/A2u0yXazovD8PEGG4IeQi+wGH2zdjJINmo/eLZ8NDKfBdfaNs jOfURn7GX8YcgAwobJu0TexCpnjxsQ4yThQVx671d2SdfyrnMmC1o0wtPqzdHYcBqDM5 yH46TZMkWvpY8fxfxIjlrTd8ZoesGytE1pf27u9EQru9YkszC8OpfIfQ9oyciG7Dzyhj o3qsfFWnTw4Lw5MAGgFnWtjF6KG14Rqgga3czh2LFT2gK72khUNLcLnJM17fgNvYENTr WvoQ== MIME-Version: 1.0 X-Received: by 10.112.134.167 with SMTP id pl7mr4792946lbb.6.1369407352878; Fri, 24 May 2013 07:55:52 -0700 (PDT) Received: by 10.112.4.168 with HTTP; Fri, 24 May 2013 07:55:52 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 May 2013 09:55:52 -0500 Message-ID: Subject: Re: exception causes streaming to hang forever From: Yuki Morishita To: "user@cassandra.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org hmm, I only can say it may caused by corrupt SSTable... Stream hang on unexpected error was fixed in 1.2.5 (https://issues.apache.org/jira/browse/CASSANDRA-5229). On Fri, May 24, 2013 at 6:56 AM, Hiller, Dean wrote: > The exception on that node was just this > > ERROR [Thread-6056] 2013-05-22 14:47:59,416 CassandraDaemon.java (line > 132) Exception in thread Thread[Thread-6056,5,main] > java.lang.IndexOutOfBoundsException > at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:75) > at > org.apache.cassandra.streaming.compress.CompressedInputStream$Reader.runMay > Throw(CompressedInputStream.java:151) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at java.lang.Thread.run(Thread.java:662) > > > > > On 5/23/13 9:51 AM, "Yuki Morishita" wrote: > >>What kind of error does the other end of streaming(/10.10.42.36) say? >> >>On Wed, May 22, 2013 at 5:19 PM, Hiller, Dean >>wrote: >>> We had 3 nodes roll on good and the next 2, we see a remote node with >>>this exception every time we start over and bootstrap the node >>> >>> ERROR [Streaming to /10.10.42.36:2] 2013-05-22 14:47:59,404 >>>CassandraDaemon.java (line 132) Exception in thread Thread[Streaming to >>>/10.10.42.36:2,5,main] >>> java.lang.RuntimeException: java.io.IOException: Input/output error >>> at >>>com.google.common.base.Throwables.propagate(Throwables.java:160) >>> at >>>org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32) >>> at >>>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor >>>.java:895) >>> at >>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav >>>a:918) >>> at java.lang.Thread.run(Thread.java:662) >>> Caused by: java.io.IOException: Input/output error >>> at sun.nio.ch.FileChannelImpl.transferTo0(Native Method) >>> at >>>sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:405) >>> at >>>sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:506) >>> at >>>org.apache.cassandra.streaming.compress.CompressedFileStreamTask.stream(C >>>ompressedFileStreamTask.java:90) >>> at >>>org.apache.cassandra.streaming.FileStreamTask.runMayThrow(FileStreamTask. >>>java:91) >>> at >>>org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) >>> ... 3 more >>> >>> Are there any ideas what this is? Google doesn't real show any useful >>>advice on this and our node has not joined the ring yet so I don't think >>>we can run a repair just yet to avoid it and try synching via another >>>means. It seems on a streaming failure, it never recovers from this. >>>Any ideas? >>> >>> We are on cassandra 1.2.2 >>> >>> Thanks, >>> Dean >>> >> >> >> >>-- >>Yuki Morishita >> t:yukim (http://twitter.com/yukim) > -- Yuki Morishita t:yukim (http://twitter.com/yukim)