In the mean time you can try upping the value of your -Xss setting in cassandra-env.sh to see if just a little push will take the problem away.

On 01/10/2014 10:18 AM, Дмитрий Шохов wrote:
https://issues.apache.org/jira/browse/CASSANDRA-6567

Thank you!


2014/1/10 Benedict Elliott Smith <belliottsm...@datastax.com <mailto:belliottsm...@datastax.com>>

    It must be a very large IN clause, which is probably not
    advisable. But it shouldn't cause this error, and since it's an
    easy fix to prevent it, if you file a JIRA I'll post a patch.


    On 10 January 2014 13:08, Дмитрий Шохов <sho...@gmail.com
    <mailto:sho...@gmail.com>> wrote:

        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




Reply via email to