Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 80613 invoked from network); 23 Aug 2010 19:04:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 19:04:20 -0000 Received: (qmail 65618 invoked by uid 500); 23 Aug 2010 19:04:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 65580 invoked by uid 500); 23 Aug 2010 19:04:17 -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 65572 invoked by uid 99); 23 Aug 2010 19:04:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 19:04:17 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gdusbabek@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 19:04:11 +0000 Received: by wyb40 with SMTP id 40so7597897wyb.31 for ; Mon, 23 Aug 2010 12:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uRqtX4yoJdvxWEoAi36+fvxIWWJ2BuAw6ZA8uqfE6i0=; b=VEtvlzNvqrZhvH+EhuKV27un2Dhcns+zLzSc7FReRNuCKYsXt6q1NIxNzplkYxB0Hv /Oq+hmO1/953eHmWKYSIMLi5nC3BMyeQJ9q8UPwcVSbttokhWY2t3OiMG1SfFZhJQkWk 3S+0vQ6PjWivhJ5e29R3d/ZhTFzJn4/47ByB8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=uISLbRogzKZildqo2fmqQW8EUS7Oh/beEHx3YLZZmeLRat7XgLqb6jDcKAmLE2v1E9 FpUsbebaIdWiRMlMsflOK18YiQJe4VwHmhwbL0LQ6Fki2XRa2MRg6RmrCqMbaQdFkDD9 yr6Qm2dHjizH2tJWc6ud+QqCcb+usbbkAGaC0= MIME-Version: 1.0 Received: by 10.216.186.70 with SMTP id v48mr4910565wem.64.1282590229770; Mon, 23 Aug 2010 12:03:49 -0700 (PDT) Received: by 10.216.164.196 with HTTP; Mon, 23 Aug 2010 12:03:49 -0700 (PDT) Reply-To: gdusbabek@gmail.com In-Reply-To: <1282588431.3078.17.camel@rnwk-dell> References: <1282588431.3078.17.camel@rnwk-dell> Date: Mon, 23 Aug 2010 14:03:49 -0500 Message-ID: Subject: Re: 0.7 beta 1 - "error in row mutation" and NPE From: Gary Dusbabek To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It looks like you're running into https://issues.apache.org/jira/browse/CASSANDRA-1403, which was fixed last week and will be included in beta2. If you are experiencing this on trunk, please do file another ticket, or comment on the existing one. Gary. On Mon, Aug 23, 2010 at 13:33, B. Todd Burruss wrote: > i see the following in my server logs quite closely while doing a lot of > batch_mutations and reads.=A0 i create keyspaces and column families usin= g > thrift api, not cassandra.yaml.=A0 did not migrate anything from 0.6. > > 4 node cluster, RF =3D 3, QUORUM read/write. > > happens immediately on a fresh start of the cluster with no data - remove= d > all data and commit logs before starting. > > i believe the problem is because the creation of the keyspace/CFs has > possible not propagated to all nodes before i start slamming with the > batch_mutates and gets.=A0 if i put a 1 second sleep after the keyspace h= as > been created, but before i start using it, all is well. > > > ERROR [ROW-MUTATION-STAGE:19] 2010-08-23 11:14:30,659 > RowMutationVerbHandler.java (line 78) Error in row mutation > org.apache.cassandra.db.UnserializableColumnFamilyException: Couldn't fin= d > cfId=3D1001 > at > org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySe= rializer.java:115) > at > org.apache.cassandra.db.RowMutationSerializer.defreezeTheMaps(RowMutation= .java:372) > at > org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.jav= a:382) > at > org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.jav= a:340) > at > org.apache.cassandra.db.RowMutationVerbHandler.doVerb(RowMutationVerbHand= ler.java:46) > at > org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java= :41) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor= .java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:908) > at java.lang.Thread.run(Thread.java:619) > > ERROR [ROW-READ-STAGE:6] 2010-08-23 11:26:04,197 > DebuggableThreadPoolExecutor.java (line 102) Error in ThreadPoolExecutor > java.lang.NullPointerException > at org.apache.cassandra.db.Table.open(Table.java:104) > at org.apache.cassandra.db.ReadVerbHandler.doVerb(ReadVerbHandler.java:70= ) > at > org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java= :41) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor= .java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:908) > at java.lang.Thread.run(Thread.java:619) > >