cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10178) AssertionError inserting more than 8 values in 100-column table
Date Thu, 27 Aug 2015 15:23:46 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Lerer updated CASSANDRA-10178:
---------------------------------------
    Attachment: 10178.txt

The problem was coming from {{Columns.contains}} which was used in the assertion.

* The unit test results are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-10178-testall/lastCompletedBuild/testReport/]
* The dtest results are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-10178-dtest/lastCompletedBuild/testReport/]

> AssertionError inserting more than 8 values in 100-column table
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-10178
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10178
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jim Witschey
>            Assignee: Benjamin Lerer
>             Fix For: 3.0 beta 2
>
>         Attachments: 10178.txt
>
>
> I created a 100-column table of UUIDs, then inserted rows that didn't populate every
column. When I insert 8 values, the insertion completes successfully. When I insert 9 values,
the request fails with an AssertionError:
> {code}
> ERROR [SharedPool-Worker-2] 2015-08-25 12:46:27,839 Message.java:611 - Unexpected exception
during request; channel = [id: 0xf0ea910e, /127.0.0.1:57948 => /127.0.0.1:9042]
> java.lang.AssertionError: null
>         at org.apache.cassandra.db.partitions.PartitionUpdate.add(PartitionUpdate.java:541)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.UpdateStatement.addUpdateForKey(UpdateStatement.java:85)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.ModificationStatement.getMutations(ModificationStatement.java:824)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:611)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:599)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:204)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:235)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:220)
~[main/:na]
>         at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:123)
~[main/:na]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507)
[main/:na]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401)
[main/:na]
>         at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_45]
>         at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164)
[main/:na]
>         at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [main/:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
> {code}
> A Python script and shell harness for running CCM and starting the script can be found
here:
> https://gist.github.com/mambocab/b90c1b90d57653450e3c
> EDIT: I should note, I haven't reproduced this on 2.2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message