Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-10290

2.1 EmptyComposite cannot be cast - SliceQueryPager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • Normal

    Description

      Sporadically seeing this dump :

       ERROR [SharedPool-Worker-3] 2015-09-07 12:01:18,101 ErrorMessage.java:251 - Unexpected exception during request java.lang.ClassCastException: org.apache.cassandra.db.composites.Composites$EmptyComposite cannot be cast to org.apache.cassandra.db.composites.CellName at org.apache.cassandra.service.pager.SliceQueryPager.<init>(SliceQueryPager.java:64) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.service.pager.MultiPartitionPager.makePager(MultiPartitionPager.java:86) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.service.pager.MultiPartitionPager.<init>(MultiPartitionPager.java:69) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.service.pager.QueryPagers.pager(QueryPagers.java:102) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.service.pager.QueryPagers.pager(QueryPagers.java:126) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:228) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:67) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:238) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:493) ~[cassandra-all-2.1.8.689.jar:2.1.8.689] at com.datastax.bdp.cassandra.cql3.DseQueryHandler$PreparedStatementExecution.execute(DseQueryHandler.java:310) ~[dse.jar:4.7.3]
      and schema
      

      The data model is as follows:

      CREATE TABLE events (
        campaignid uuid,
        eventtype int,
        occurrence timeuuid,
        city text,
        clientproductid uuid,
        continentiso text,
        continentname text,
        countryiso text,
        countryname text,
        ip text,
        ipzip text,
        isus boolean,
        latitude double,
        longitude double,
        masterproductid uuid,
        offersitekeys LIST<uuid>,
        stateiso text,
        statename text,
        userid uuid,
        visitorsource text,
        zip text,
        PRIMARY KEY (( campaignid, eventtype ), occurrence)
      )
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebastian.estevez@datastax.com Sebastian Estevez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: