cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-4410) BulkOutputFormat and CompositeColumn results in java.lang.AssertionError: Added column does not sort as the last column
Date Thu, 13 Dec 2012 17:02:15 GMT

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

Jonathan Ellis resolved CASSANDRA-4410.
---------------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 1.1.8)
         Reviewer:   (was: yukim)
         Assignee:     (was: Brandon Williams)

Suspect this is a problem w/ use of Hector serialization.  Please re-open if you have a test
case w/o Hector.
                
> BulkOutputFormat and CompositeColumn results in java.lang.AssertionError: Added column
does not sort as the last column
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4410
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4410
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>    Affects Versions: 1.1.1
>         Environment: hadoop 0.20
> cassandra 1.1.1
> cql 3.0.0
>            Reporter: Henning Kropp
>            Priority: Minor
>              Labels: bulkloader, compositeColumns, cql3, hadoop
>         Attachments: CompositeColumnsBulkOutputDriver.java, CompositeColumnsBulkOutputMapper.java,
CompositeColumnsBulkOutputReducer.java, HectorInsertTest.java, input.csv, keyspace.cli, pom.xml,
schema.cql, schema_hector.cql
>
>
> Using the org.apache.cassandra.hadoop.BulkOutputFormat.class with CompositeColumns results
in the following AsertionError during a Select query with WHERE ID='id' or using an ID in
any way in the where clause.
> ERROR [ReadStage:34] 2012-07-04 14:33:27,376 AbstractCassandraDaemon.java (line 134)
Exception in thread Thread[ReadStage:34,5,main]
> java.lang.AssertionError: Added column does not sort as the last column
> 	at org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:130)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:107)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:102)
> 	at org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:141)
> 	at org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:139)
> 	at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:283)
> 	at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:63)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1321)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1183)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1118)
> 	at org.apache.cassandra.db.Table.getRow(Table.java:374)
> 	at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:69)
> 	at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:816)
> 	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1250)
> 	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:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message