cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Job Tiel Groenestege (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11304) Query data through a secondary index
Date Fri, 04 Mar 2016 12:56:40 GMT
Job Tiel Groenestege created CASSANDRA-11304:
------------------------------------------------

             Summary: Query data through a secondary index
                 Key: CASSANDRA-11304
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11304
             Project: Cassandra
          Issue Type: Bug
          Components: Core, CQL
         Environment: 3 Node cluster / Ubuntu 14.04 / Cassandra 3.0.3
            Reporter: Job Tiel Groenestege


When reading data through a secondary index _select * from tableName where secIndexField =
'foo'_  (from a Java application) I get the following stacktrace on all nodes; after the query
read fails. It happens repeatably when  I rerun the same query:

{quote}
WARN  [SharedPool-Worker-8] 2016-03-04 13:26:28,041 AbstractLocalAwareExecutorService.java:169
- Uncaught exception on thread Thread[SharedPool-Worker-8,5,main]: {}
java.lang.StackOverflowError: null
        at org.apache.cassandra.db.rows.BTreeRow$Builder.build(BTreeRow.java:653) ~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.rows.UnfilteredSerializer.deserializeRowBody(UnfilteredSerializer.java:436)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.UnfilteredDeserializer$CurrentDeserializer.readNext(UnfilteredDeserializer.java:211)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.columniterator.SSTableIterator$ForwardIndexedReader.computeNext(SSTableIterator.java:266)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.columniterator.SSTableIterator$ForwardReader.hasNextInternal(SSTableIterator.java:153)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.columniterator.AbstractSSTableIterator$Reader.hasNext(AbstractSSTableIterator.java:340)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.columniterator.AbstractSSTableIterator.hasNext(AbstractSSTableIterator.java:219)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.columniterator.SSTableIterator.hasNext(SSTableIterator.java:32)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.utils.MergeIterator$Candidate.advance(MergeIterator.java:369)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.utils.MergeIterator$ManyToOne.advance(MergeIterator.java:189)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:158)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:428)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:288)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47) ~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:108) ~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.index.internal.composites.CompositesSearcher$1.prepareNext(CompositesSearcher.java:128)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.index.internal.composites.CompositesSearcher$1.prepareNext(CompositesSearcher.java:133)
~[apache-cassandra-3.0.3.jar:3.0.3]
        at org.apache.cassandra.index.internal.composites.CompositesSearcher$1.prepareNext(CompositesSearcher.java:133)
~[apache-cassandra-3.0.3.jar:3.0.3]
{quote}



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

Mime
View raw message