cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11304) Stack overflow when querying 2ndary index
Date Wed, 09 Mar 2016 15:06:40 GMT

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

Sam Tunnicliffe updated CASSANDRA-11304:
----------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Ready to Commit)

Thanks, committed to 3.0 in {{d0b7a02b230f65a3ba2665a8327b6e6cc585dde9}} and merged with {{-s
ours}} to 3.5 & trunk.

> Stack overflow when querying 2ndary 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
>            Assignee: Sam Tunnicliffe
>             Fix For: 3.0.5
>
>         Attachments: 11304-3.0.txt
>
>
> 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