Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.1.0
    • Component/s: Core
    • Labels:
      None

      Description

      When running the dtests:

      ERROR [pool-2-thread-1] 2011-12-05 16:22:53,940 Cassandra.java (line 4082) Internal error processing execute_cql_query
      java.lang.AssertionError
              at org.apache.cassandra.db.DecoratedKey.<init>(DecoratedKey.java:56)
              at org.apache.cassandra.dht.RandomPartitioner.decorateKey(RandomPartitioner.java:47)
              at org.apache.cassandra.cql.QueryProcessor.multiRangeSlice(QueryProcessor.java:161)
              at org.apache.cassandra.cql.QueryProcessor.process(QueryProcessor.java:549)
              at org.apache.cassandra.thrift.CassandraServer.execute_cql_query(CassandraServer.java:1249)
              at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql_query.process(Cassandra.java:4072)
              at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
              at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
      

      I suspect CASSANDRA-1034 is to blame.

      1. 3574.patch
        1 kB
        Sylvain Lebresne

        Activity

        Hide
        Sylvain Lebresne added a comment -

        I though I had fixed that already but apparently not. Patch attached.

        Show
        Sylvain Lebresne added a comment - I though I had fixed that already but apparently not. Patch attached.
        Hide
        Jonathan Ellis added a comment -

        +1

        Show
        Jonathan Ellis added a comment - +1
        Hide
        Sylvain Lebresne added a comment -

        Committed, thanks

        Show
        Sylvain Lebresne added a comment - Committed, thanks
        Hide
        Hudson added a comment -

        Integrated in Cassandra #1240 (See https://builds.apache.org/job/Cassandra/1240/)
        Fix assertion error in DK
        patch by slebresne; reviewed by jbellis for CASSANDRA-3574

        slebresne : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1211030
        Files :

        • /cassandra/trunk/CHANGES.txt
        • /cassandra/trunk/src/java/org/apache/cassandra/cql/QueryProcessor.java
        Show
        Hudson added a comment - Integrated in Cassandra #1240 (See https://builds.apache.org/job/Cassandra/1240/ ) Fix assertion error in DK patch by slebresne; reviewed by jbellis for CASSANDRA-3574 slebresne : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1211030 Files : /cassandra/trunk/CHANGES.txt /cassandra/trunk/src/java/org/apache/cassandra/cql/QueryProcessor.java

          People

          • Assignee:
            Sylvain Lebresne
            Reporter:
            Brandon Williams
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development