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 3938C9E8C for ; Fri, 23 Sep 2011 05:24:09 +0000 (UTC) Received: (qmail 28293 invoked by uid 500); 23 Sep 2011 05:24:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 28139 invoked by uid 500); 23 Sep 2011 05:24:05 -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 28116 invoked by uid 99); 23 Sep 2011 05:24:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 05:24:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of springrider@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 05:23:59 +0000 Received: by eye4 with SMTP id 4so2122011eye.31 for ; Thu, 22 Sep 2011 22:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=t1IdwY0g0CZ2dFLWq+kqcA3d3dmTBL9oyKGfe2PMdVs=; b=ppp6rBv77WPSTsxSsnQwmhRLzi2W7ZDwIQFiJ2R9hbjryY0wVThPHW9rJfGEoEBgPf RAxo4E0blIPoiRWATI/8CY95ci0NJ9N7wtrRsAhnlE/wJxD+ZcNckyavSZ/RAF9dOEBN gQ3H4AWXgIzFRBaV3zzNv8781oXrC6Rzonk2o= Received: by 10.213.31.78 with SMTP id x14mr68838ebc.4.1316755416195; Thu, 22 Sep 2011 22:23:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.14.147 with HTTP; Thu, 22 Sep 2011 22:23:16 -0700 (PDT) In-Reply-To: References: From: Yan Chunlu Date: Fri, 23 Sep 2011 13:23:16 +0800 Message-ID: Subject: Re: progress of sstableloader keeps 0? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015174c0ef2d6a35a04ad950203 --0015174c0ef2d6a35a04ad950203 Content-Type: text/plain; charset=ISO-8859-1 sorry I did not look into it.... after check it I found version mismatch exception is in the log: ERROR [Thread-17] 2011-09-22 08:24:24,248 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[Thread-17,5,main] java.lang.RuntimeException: Cannot recover SSTable /disk2/cassandra/data/reddit/Comments-tmp-f-1 due to version mismatch. (current version is g). at org.apache.cassandra.io.sstable.SSTableWriter.createBuilder(SSTableWriter.java:240) at org.apache.cassandra.db.compaction.CompactionManager.submitSSTableBuild(CompactionManager.java:1097) at org.apache.cassandra.streaming.StreamInSession.finished(StreamInSession.java:110) at org.apache.cassandra.streaming.IncomingStreamReader.readFile(IncomingStreamReader.java:104) at org.apache.cassandra.streaming.IncomingStreamReader.read(IncomingStreamReader.java:61) at org.apache.cassandra.net.IncomingTcpConnection.stream(IncomingTcpConnection.java:189) at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:117) does that mean I need to run scrub before running the loader? could I just delete it and keep going? thanks! On Fri, Sep 23, 2011 at 2:16 AM, Jonathan Ellis wrote: > Did you check for errors in logs on both loader + target? > > On Thu, Sep 22, 2011 at 10:52 AM, Yan Chunlu > wrote: > > I took a snapshot of one of my node in a cluster 0.7.4(N=RF=3). use > > sstableloader to load the snapshot data to another 1 node > cluster(N=RF=1). > > > > after execute "bin/sstableloader /disk2/mykeyspace/" > > > > it says"Starting client (and waiting 30 seconds for gossip) ..." > > "Streaming revelant part of cf1.db..... to [10.23.2.4]" > > then showing the progress indicator and stopped. nothing changed after > > then. > > progress: [/10.28.53.16 1/72 (0)] [total: 0 - 0MB/s (avg: 0MB/s)]]] > > > > I use nodetool to check the node 10.23.2.4, nothing changed. no data > copied > > to it. and the data dir also keep its original size. is there anything > > wrong? how can I tell what was going on there? > > thanks! > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of DataStax, the source for professional Cassandra support > http://www.datastax.com > --0015174c0ef2d6a35a04ad950203 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable sorry I did not look into it.... =A0after check it I found version mismatch= exception is in the log:
ERROR [Thread-17] 2011-09-22 08:24:24,24= 8 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[= Thread-17,5,main]
java.lang.RuntimeException: Cannot recover SSTable /disk2/cassandra/da= ta/reddit/Comments-tmp-f-1 due to version mismatch. (current version is g).=
=A0 =A0 =A0 =A0 at org.apache.cassandra.io.sstable.SSTableWriter= .createBuilder(SSTableWriter.java:240)
=A0 =A0 =A0 =A0 at org.apache.cassandra.db.compaction.CompactionManage= r.submitSSTableBuild(CompactionManager.java:1097)
=A0 =A0 =A0 =A0= at org.apache.cassandra.streaming.StreamInSession.finished(StreamInSession= .java:110)
=A0 =A0 =A0 =A0 at org.apache.cassandra.streaming.IncomingStreamReader= .readFile(IncomingStreamReader.java:104)
=A0 =A0 =A0 =A0 at org.a= pache.cassandra.streaming.IncomingStreamReader.read(IncomingStreamReader.ja= va:61)
=A0 =A0 =A0 =A0 at org.apache.cassandra.net.IncomingTcpConnection.stre= am(IncomingTcpConnection.java:189)
=A0 =A0 =A0 =A0 at org.apache.= cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:117)


does that mean I need to run scrub before running the l= oader? =A0could I just delete it and keep going? =A0thanks!

On Fri, Sep 23, 2011 at 2:16 AM, Jonathan Ellis <jbellis@gmail.com&= gt; wrote:
Did you check for errors in logs on both lo= ader + target?

On Thu, Sep 22, 2011 at 10:52 AM, Yan Chunlu <springrider@gmail.com> wrote:
> I took a snapshot of one of my node in a cluster 0.7.4(N=3DRF=3D3). = =A0 use
> sstableloader to load the snapshot data to another 1 node cluster(N=3D= RF=3D1).
>
> after execute =A0"bin/sstableloader =A0/disk2/mykeyspace/" >
> it says"Starting client (and waiting 30 seconds for gossip) ...&q= uot;
> "Streaming revelant part of =A0cf1.db..... to [10.23.2.4]" > then showing the progress indicator and stopped. nothing changed after=
> then.
> progress: [/10.28.53.= 16 1/72 (0)] [total: 0 - 0MB/s (avg: 0MB/s)]]]
>
> I use nodetool to check the node 10.23.2.4, nothing changed. no data c= opied
> to it. and the data dir also keep its original size. is there anything=
> wrong? how can I tell what was going on there?
> thanks!



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.c= om

--0015174c0ef2d6a35a04ad950203--