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 DD28CCD83 for ; Wed, 16 May 2012 09:32:48 +0000 (UTC) Received: (qmail 50404 invoked by uid 500); 16 May 2012 09:32:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 50370 invoked by uid 500); 16 May 2012 09:32:46 -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 50356 invoked by uid 99); 16 May 2012 09:32:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 09:32:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a52.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 09:32:39 +0000 Received: from homiemail-a52.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTP id 494456B8163 for ; Wed, 16 May 2012 02:32:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=S7noSxl5yy pWuBuCs+WJdaLMyR82NrzmPQV3joz3rTZwDgk1DNB6n31P57KuP8xzWPcxv9zOs0 vf74yymqSH02gbif7hEc+1O00FFRb5ZBSGHXPOj2QX9h5afGZw4B/icGUKqsq0zM c179AwzDpIM6VzfpIoY01m3X+159tp9aY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=ETTQ95OdCEQMz68b lir06b5rONU=; b=NKMa6ZdfYjPkPps5nfdWDOCtcRncCVq3W/+5f0c7Yk2GzbPv WiT+3R5Qkxh3KT6WYbKwsPKTW2qhCap5BMs/GtaUZheMcCpKA112AKOZ15sh0q2Z KdMEx2GGJ5vCAfvb99XuRXQL6KTUd86vgAjnk07tQm4wwLy5gkvYIfrER5k= Received: from [172.16.1.4] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTPSA id B3E4F6B80F9 for ; Wed, 16 May 2012 02:32:14 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/alternative; boundary="Apple-Mail=_687EA7EB-99CC-42BA-9697-5036164A938C" Subject: Re: Couldn't find cfId Date: Wed, 16 May 2012 21:32:09 +1200 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: <5454EA9C-C3C8-42E6-A73A-9392C7DA6418@thelastpickle.com> X-Mailer: Apple Mail (2.1257) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_687EA7EB-99CC-42BA-9697-5036164A938C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Looks like this https://issues.apache.org/jira/browse/CASSANDRA-3975 Fixed in the latest 1.0.9.=20 Either upgrade (which is always a good idea) or purge the hints from the = server. Either using JMX or stopping the node and removing the = HintedHandoff files from data/system.=20 In either case you should then run a nodetool repair as hints for other = CF's may have been dropped.=20 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 16/05/2012, at 2:27 AM, Daning Wang wrote: > We got exception "UnserializableColumnFamilyException: Couldn't find = cfId=3D1075" in the log of one node, describe cluster showed all the = nodes in same schema version. how to fix this problem? did repair but = looks does not work, haven't try scrub yet. >=20 > We are on v1.0.3 >=20 > ERROR [HintedHandoff:1631] 2012-05-15 07:13:07,877 = AbstractCassandraDaemon.java (line 139) Fatal exception in thread = Thread[HintedHandoff:1631,1,main] > java.lang.RuntimeException: = org.apache.cassandra.db.UnserializableColumnFamilyException: Couldn't = find cfId=3D1075 > at = org.apache.cassandra.utils.FBUtilities.unchecked(FBUtilities.java:689) > at = org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34) > at = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:= 1110) > at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :603) > at java.lang.Thread.run(Thread.java:722) > Caused by: = org.apache.cassandra.db.UnserializableColumnFamilyException: Couldn't = find cfId=3D1075 > at = org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySer= ializer.java:129) > at = org.apache.cassandra.db.RowMutation$RowMutationSerializer.deserialize(RowM= utation.java:401) > at = org.apache.cassandra.db.RowMutation$RowMutationSerializer.deserialize(RowM= utation.java:409) > at = org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpointInterna= l(HintedHandOffManager.java:344) > at = org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(Hinted= HandOffManager.java:248) > at = org.apache.cassandra.db.HintedHandOffManager.access$200(HintedHandOffManag= er.java:84) > at = org.apache.cassandra.db.HintedHandOffManager$3.runMayThrow(HintedHandOffMa= nager.java:418) > =20 > Thanks, >=20 > Daning --Apple-Mail=_687EA7EB-99CC-42BA-9697-5036164A938C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Looks = like this https://issu= es.apache.org/jira/browse/CASSANDRA-3975

Fixed in = the latest 1.0.9. 

Either upgrade (which = is always a good idea) or purge the hints from the server. Either using = JMX or stopping the node and removing the HintedHandoff files from = data/system. 

In either case you should = then run a nodetool repair as hints for other CF's may have been = dropped. 

Cheers


http://www.thelastpickle.com

On 16/05/2012, at 2:27 AM, Daning Wang wrote:

We = got exception "UnserializableColumnFamilyException: Couldn't find = cfId=3D1075" in the log of one node, describe cluster showed all the = nodes in same schema version. how to fix this problem? did repair but = looks does not work, haven't try scrub yet.

We are on v1.0.3

ERROR = [HintedHandoff:1631] 2012-05-15 07:13:07,877 = AbstractCassandraDaemon.java (line 139) Fatal exception in thread = Thread[HintedHandoff:1631,1,main]
java.lang.RuntimeException: = org.apache.cassandra.db.UnserializableColumnFamilyException: Couldn't = find cfId=3D1075
        at = org.apache.cassandra.utils.FBUtilities.unchecked(FBUtilities.java:689)
        at = org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
        at = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:= 1110)
        at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :603)
        at = java.lang.Thread.run(Thread.java:722)
Caused by: = org.apache.cassandra.db.UnserializableColumnFamilyException: Couldn't = find cfId=3D1075
        at = org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySer= ializer.java:129)
        at = org.apache.cassandra.db.RowMutation$RowMutationSerializer.deserialize(RowM= utation.java:401)
        at = org.apache.cassandra.db.RowMutation$RowMutationSerializer.deserialize(RowM= utation.java:409)
        at = org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpointInterna= l(HintedHandOffManager.java:344)
        = at = org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(Hinted= HandOffManager.java:248)
        at = org.apache.cassandra.db.HintedHandOffManager.access$200(HintedHandOffManag= er.java:84)
        at = org.apache.cassandra.db.HintedHandOffManager$3.runMayThrow(HintedHandOffMa= nager.java:418)
 
Thanks,

Daning

= --Apple-Mail=_687EA7EB-99CC-42BA-9697-5036164A938C--