Details
-
Bug
-
Status: Resolved
-
Urgent
-
Resolution: Not A Problem
-
Critical
Description
I am putting a bunch of (CQL) rows into Datastax DSE 4.5.1-1. Each upsert is for a single partition key with up to ~3000 clustering keys. I understand to large upsert aren't recommended, but I wouldn't expect to be getting the following exception anyway:
ERROR [Native-Transport-Requests:4205136] 2014-10-16 12:00:38,668 ErrorMessage.java (line 222) Unexpected exception during request java.lang.IndexOutOfBoundsException: Index: 1749, Size: 1749 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at org.apache.cassandra.cql3.Constants$Marker.bindAndGet(Constants.java:278) at org.apache.cassandra.cql3.Constants$Setter.execute(Constants.java:307) at org.apache.cassandra.cql3.statements.UpdateStatement.addUpdateForKey(UpdateStatement.java:99) at org.apache.cassandra.cql3.statements.BatchStatement.addStatementMutations(BatchStatement.java:200) at org.apache.cassandra.cql3.statements.BatchStatement.getMutations(BatchStatement.java:145) at org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:251) at org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:232) at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:158) at com.datastax.bdp.cassandra.cql3.DseQueryHandler.statementExecution(DseQueryHandler.java:207) at com.datastax.bdp.cassandra.cql3.DseQueryHandler.process(DseQueryHandler.java:86) at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:119) at org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:304) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)