Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 37208 invoked from network); 7 May 2009 17:17:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 May 2009 17:17:55 -0000 Received: (qmail 62543 invoked by uid 500); 7 May 2009 17:17:55 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 62529 invoked by uid 500); 7 May 2009 17:17:55 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 62519 invoked by uid 99); 7 May 2009 17:17:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 17:17:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 17:17:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A76F7234C045 for ; Thu, 7 May 2009 10:17:30 -0700 (PDT) Message-ID: <919162207.1241716650684.JavaMail.jira@brutus> Date: Thu, 7 May 2009 10:17:30 -0700 (PDT) From: "nk11 (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-151) Exception after about 2000 inserts In-Reply-To: <1385702170.1241716530618.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707005#action_12707005 ] nk11 commented on CASSANDRA-151: -------------------------------- correction, I get it after much less, but at around 2000 inserts it freezes > Exception after about 2000 inserts > ---------------------------------- > > Key: CASSANDRA-151 > URL: https://issues.apache.org/jira/browse/CASSANDRA-151 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.4 > Reporter: nk11 > > Wtih this client code and default configuration: > int max = 100000; > Random random = new Random(); > for (int a = 0; a < max; a ) { > System.out.println(a); > client.insert("Table1", "k1:" random.nextInt(Integer.MAX_VALUE), "Super1:x", new byte[] { (byte) 1 }, 0); > } > I get after about 2000 inserts > DEBUG [pool-1-thread-1] 2009-05-07 20:04:30,942 StorageProxy.java (line 120) insert writing key k1:1355213513 to [127.0.0.1:7000] > ERROR [ROW-MUTATION-STAGE:4] 2009-05-07 20:04:30,942 RowMutationVerbHandler.java (line 99) Error in row mutation > java.io.EOFException > at java.io.DataInputStream.readInt(Unknown Source) > at org.apache.cassandra.db.SuperColumnSerializer.fillSuperColumn(SuperColumn.java:368) > at org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:349) > at org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:314) > at org.apache.cassandra.db.ColumnFamily$ColumnFamilySerializer.deserialize(ColumnFamily.java:515) > at org.apache.cassandra.db.ColumnFamily$ColumnFamilySerializer.deserialize(ColumnFamily.java:455) > at org.apache.cassandra.db.RowMutationSerializer.defreezeTheMaps(RowMutation.java:374) > at org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:384) > at org.apache.cassandra.db.RowMutationSerializer.deserialize(RowMutation.java:337) > at org.apache.cassandra.db.RowMutationVerbHandler.doVerb(RowMutationVerbHandler.java:69) > at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:46) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.