cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Eggleston (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10169) Test regression for consistency_test.TestAccuracy
Date Wed, 02 Sep 2015 22:27:46 GMT


Blake Eggleston commented on CASSANDRA-10169:

{{consistency_test.TestAccuracy.test_simple_strategy_users}} is failing with
ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation failed - received
1 responses and 2 failures" info={'failures': 2, 'received_responses': 1, 'required_responses':
2, 'consistency': 'QUORUM'}

Looking at the logs of the nodes with failures, I'm seeing this exception:
WARN  [SharedPool-Worker-5] 2015-09-02 13:15:49,703
- Uncaught exception on thread Thread[SharedPool-Worker-5,5,main]: {}
java.lang.IllegalStateException: [age firstname lastname] is not a subset of [age]
	at org.apache.cassandra.db.Columns$Serializer.encodeBitmap( ~[main/:na]
	at org.apache.cassandra.db.Columns$Serializer.serializeSubset( ~[main/:na]
	at org.apache.cassandra.db.SerializationHeader$Serializer.serializeForMessaging(
	at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(
	at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(
	at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.serialize(
	at org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(
	at org.apache.cassandra.db.ReadResponse$ ~[main/:na]
	at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(
	at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(
	at org.apache.cassandra.db.ReadResponse.createDataResponse( ~[main/:na]
	at org.apache.cassandra.db.ReadCommand.createResponse( ~[main/:na]
	at org.apache.cassandra.db.ReadCommandVerbHandler.doVerb(
	at ~[main/:na]
	at java.util.concurrent.Executors$ ~[na:1.8.0_40]
	at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$
	at [main/:na]
	at [na:1.8.0_40]

which is being caused by the column bitmap serialization introduced in CASSANDRA-9894 being
fed columns it's not expecting. This appears to be related to the table in question using
compact storage. The PartitionColumns instance in the column filter also seems to think that
age is a static column, which it is not.

> Test regression for consistency_test.TestAccuracy
> -------------------------------------------------
>                 Key: CASSANDRA-10169
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Sylvain Lebresne
>            Assignee: Blake Eggleston
>             Fix For: 3.0 beta 2
> We have 2 tests failures:
> {noformat}
> consistency_test.TestAccuracy.test_network_topology_strategy_users
> consistency_test.TestAccuracy.test_simple_strategy_users
> {noformat}
> and looking at [the history|],
CASSANDRA-9913 appears to be the culprit.

This message was sent by Atlassian JIRA

View raw message