Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 72064 invoked from network); 23 Aug 2010 18:34:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 18:34:21 -0000 Received: (qmail 17024 invoked by uid 500); 23 Aug 2010 18:34:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16913 invoked by uid 500); 23 Aug 2010 18:34: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 16905 invoked by uid 99); 23 Aug 2010 18:34:19 -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 18:34:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bburruss@real.com designates 207.188.23.4 as permitted sender) Received: from [207.188.23.4] (HELO kal-el.real.com) (207.188.23.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 18:34:12 +0000 Received: from seacas01.corp.real.com ([::ffff:192.168.139.56]) (TLS: TLSv1/SSLv3,128bits,AES128-SHA) by kal-el.real.com with esmtp; Mon, 23 Aug 2010 11:33:52 -0700 id 00080045.4C72BF10.00007A80 Received: from [172.21.141.200] (192.168.198.6) by seacas01.corp.real.com (192.168.139.56) with Microsoft SMTP Server id 8.2.254.0; Mon, 23 Aug 2010 11:33:51 -0700 Subject: 0.7 beta 1 - "error in row mutation" and NPE From: "B. Todd Burruss" To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="=-QZ/9u59ZKCfJbMbOVMH9" Date: Mon, 23 Aug 2010 11:33:51 -0700 Message-ID: <1282588431.3078.17.camel@rnwk-dell> MIME-Version: 1.0 X-Mailer: Evolution 2.28.3 Old-Return-Path: bburruss@real.com --=-QZ/9u59ZKCfJbMbOVMH9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit i see the following in my server logs quite closely while doing a lot of batch_mutations and reads. i create keyspaces and column families using thrift api, not cassandra.yaml. did not migrate anything from 0.6. 4 node cluster, RF = 3, QUORUM read/write. happens immediately on a fresh start of the cluster with no data - removed 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. if i put a 1 second sleep after the keyspace has 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 find cfId=1001 at org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySerializer.java:115) at org.apache.cassandra.db.RowMutationSerializer.defreezeTheMaps(RowMutation.java:372) at org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:382) at org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:340) at org.apache.cassandra.db.RowMutationVerbHandler.doVerb(RowMutationVerbHandler.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.java: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.java:908) at java.lang.Thread.run(Thread.java:619) --=-QZ/9u59ZKCfJbMbOVMH9 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit i see the following in my server logs quite closely while doing a lot of batch_mutations and reads.  i create keyspaces and column families using thrift api, not cassandra.yaml.  did not migrate anything from 0.6.

4 node cluster, RF = 3, QUORUM read/write.

happens immediately on a fresh start of the cluster with no data - removed 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.  if i put a 1 second sleep after the keyspace has 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 find cfId=1001
at org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySerializer.java:115)
at org.apache.cassandra.db.RowMutationSerializer.defreezeTheMaps(RowMutation.java:372)
at org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:382)
at org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:340)
at org.apache.cassandra.db.RowMutationVerbHandler.doVerb(RowMutationVerbHandler.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.java: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.java:908)
at java.lang.Thread.run(Thread.java:619)

--=-QZ/9u59ZKCfJbMbOVMH9--