[ https://issues.apache.org/jira/browse/CASSANDRA-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jignesh Dhruv updated CASSANDRA-1303: ------------------------------------- Attachment: TestSuperColumnTTL.java Attached is a test java file which will demonstrate the problem. Right after inserting 127566 records an exception is being thrown on batch inserts. > Cassandra Throws Exception During Batch Insert - SVN > ----------------------------------------------------- > > Key: CASSANDRA-1303 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1303 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Jignesh Dhruv > Attachments: TestSuperColumnTTL.java > > > Hello, > The latest source code in trunk throws exceptions on batch_mutate after a > connection is open and few thousands records are inserted. > I am working with svn revision 965880 (latest source code as of 07/20/2010). > I am getting following exceptions randomly during batch inserts > ----------------------------------------------------------------------------------------- > ERROR 09:40:49,306 Thrift error occurred during processing of message. > org.apache.thrift.TException: Message length exceeded: 8 > at > org.apache.thrift.protocol.TBinaryProtocol.checkReadLength(TBinaryProtocol.java:384) > at > org.apache.thrift.protocol.TBinaryProtocol.readBinary(TBinaryProtocol.java:361) > at org.apache.cassandra.thrift.Column.read(Column.java:491) > at org.apache.cassandra.thrift.SuperColumn.read(SuperColumn.java:390) > at > org.apache.cassandra.thrift.ColumnOrSuperColumn.read(ColumnOrSuperColumn.java:359) > at org.apache.cassandra.thrift.Mutation.read(Mutation.java:346) > at > org.apache.cassandra.thrift.Cassandra$batch_mutate_args.read(Cassandra.java:16780) > at > org.apache.cassandra.thrift.Cassandra$Processor$batch_mutate.process(Cassandra.java:3041) > at > org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2531) > at > org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167) > 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) > ----------------------------------------------------------------------------------- > Let me know if you need more information. > Thanks, > Jignesh -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.