cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Yves Ritschard (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-4621) select * on composite row keys generates exceptions
Date Wed, 05 Sep 2012 13:37:07 GMT
Pierre-Yves Ritschard created CASSANDRA-4621:

             Summary: select * on composite row keys generates exceptions
                 Key: CASSANDRA-4621
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.0 beta 1
         Environment: archlinux, openjdk7
            Reporter: Pierre-Yves Ritschard

On a freshly built cassandra from trunk, I can create a column family with a composite row
key using the syntax:

for instance a standard eventlog CF:

     CREATE TABLE events (
       facility text,
       prio int,
       message text,
       PRIMARY KEY ( facility, prio )

A simple query will then generate exceptions:

SELECT * FROM events; will yield:

ERROR 15:33:40,383 Exception in thread Thread[Thrift:1,5,main]
java.lang.AssertionError: [min(0),max(-8021625467324731134)]
	at org.apache.cassandra.dht.Bounds.<init>(
	at org.apache.cassandra.dht.Bounds.split(
	at org.apache.cassandra.service.StorageProxy.getRestrictedRanges(
	at org.apache.cassandra.service.StorageProxy.getRangeSlice(
	at org.apache.cassandra.cql3.statements.SelectStatement.multiRangeSlice(
	at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(
	at org.apache.cassandra.cql3.statements.SelectStatement.execute(
	at org.apache.cassandra.cql3.statements.SelectStatement.execute(
	at org.apache.cassandra.cql3.QueryProcessor.processStatement(
	at org.apache.cassandra.cql3.QueryProcessor.process(
	at org.apache.cassandra.thrift.CassandraServer.execute_cql_query(
	at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql_query.getResult(
	at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql_query.getResult(
	at org.apache.thrift.ProcessFunction.process(
	at org.apache.thrift.TBaseProcessor.process(
	at org.apache.cassandra.thrift.CustomTThreadPoolServer$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$ Source)
	at Source)

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:

View raw message