cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nk11 (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-151) Exception after about 2000 inserts
Date Thu, 07 May 2009 17:15:30 GMT
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.


Mime
View raw message