cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Дмитрий Шохов <sho...@gmail.com>
Subject java.lang.StackOverflowError with big IN list
Date Fri, 10 Jan 2014 13:08:09 GMT
Hello I'm getting stack overflow when running prepared queries with IN
parameter and binding big list in it. Is it known limitation and I must
implement manual paging or change logic to get around this, or is it some
bug maybe...

java.lang.StackOverflowError
        at
org.apache.cassandra.utils.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer.compareTo(FastByteComparisons.java:110)
        at
org.apache.cassandra.utils.FastByteComparisons.compareTo(FastByteComparisons.java:41)
        at
org.apache.cassandra.utils.FBUtilities.compareUnsigned(FBUtilities.java:216)
        at
org.apache.cassandra.utils.ByteBufferUtil.compareUnsigned(ByteBufferUtil.java:89)
        at
org.apache.cassandra.db.marshal.LongType.compareLongs(LongType.java:54)
        at
org.apache.cassandra.db.marshal.LongType.compare(LongType.java:36)
        at
org.apache.cassandra.db.marshal.LongType.compare(LongType.java:28)
        at
org.apache.cassandra.db.ArrayBackedSortedColumns.binarySearch(ArrayBackedSortedColumns.java:170)
        at
org.apache.cassandra.db.ArrayBackedSortedColumns.binarySearch(ArrayBackedSortedColumns.java:152)
        at
org.apache.cassandra.db.ArrayBackedSortedColumns.getColumn(ArrayBackedSortedColumns.java:89)
        at
org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:825)
        at
org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:826)
        at
org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:826)
        at
org.apache.cassandra.cql3.statements.SelectStatement$1$1.computeNext(SelectStatement.java:826)
        at .... many more same line stack elements

Cassandra 2.0.4 Java driver 2.0 rc2

Mime
View raw message