cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Kropp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4410) BulkOutputFormat and CompositeColumn results in java.lang.AssertionError: Added column does not sort as the last column
Date Wed, 04 Jul 2012 12:44:33 GMT

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

Henning Kropp updated CASSANDRA-4410:
-------------------------------------

    Attachment: pom.xml
                schema.cql
                keyspace.cli
                input.csv
                CompositeColumnsBulkOutputReducer.java
                CompositeColumnsBulkOutputMapper.java
                CompositeColumnsBulkOutputDriver.java

Setup to reproduce the problem. Use query "select * from user_logs where user_id='user1';"
to see error. 
                
> 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
>              Labels: bulkloader, compositeColumns, cql3, hadoop
>         Attachments: CompositeColumnsBulkOutputDriver.java, CompositeColumnsBulkOutputMapper.java,
CompositeColumnsBulkOutputReducer.java, input.csv, keyspace.cli, pom.xml, schema.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message