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

Include table name in "Cannot get comparator" exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.9, 3.8
    • None
    • None

    Description

      Having table name will help in debugging the following exception.

      ERROR [MutationStage:xx] CassandraDaemon.java (line 199) Exception in thread Thread[MutationStage:3788,5,main]
      clusterName=itms8shared20
      java.lang.RuntimeException: Cannot get comparator 2 in org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type).

      This might be due to a mismatch between the schema and the data read

      Attachments

        1. CASSANDRA-12181-3.0_v2.txt
          2 kB
          Sankalp Kohli
        2. CASSANDRA-12181_3.0-v3.txt
          2 kB
          Sankalp Kohli
        3. CASSANDRA-12181_3.0.txt
          5 kB
          Sankalp Kohli

        Activity

          People

            kohlisankalp Sankalp Kohli
            kohlisankalp Sankalp Kohli
            Sankalp Kohli
            Robert Stupp
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: