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

nodetool scrub fails on system schema with UDTs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 rc5
    • None
    • None
    • 2.1.0-rc4

    • Normal

    Description

      [apache-cassandra-2.1.0-rc4]$ bin/cqlsh
      Connected to Test Cluster at 127.0.0.1:9042.
      [cqlsh 5.0.1 | Cassandra 2.1.0-rc4 | CQL spec 3.2.0 | Native protocol v3]
      Use HELP for help.
      cqlsh> CREATE KEYSPACE test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1 };
      cqlsh> use test;
      cqlsh:test> CREATE TYPE point_t (x double, y double);
      cqlsh:test> exit
      
      [apache-cassandra-2.1.0-rc4]$bin/nodetool scrub
      
      INFO  12:34:57 Scrubbing SSTableReader(path='/apache-cassandra-2.1.0-rc4/bin/../data/data/system/schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697/system-schema_columnfamilies-ka-1-Data.db') (34135 bytes)
      INFO  12:34:57 Scrub of SSTableReader(path='/apache-cassandra-2.1.0-rc4/bin/../data/data/system/schema_columnfamilies-45f5b36024bc3f83a3631034ea4fa697/system-schema_columnfamilies-ka-1-Data.db') complete: 2 rows in new sstable and 0 empty (tombstoned) rows dropped
      INFO  12:34:57 Scrubbing SSTableReader(path='/apache-cassandra-2.1.0-rc4/bin/../data/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-5-Data.db') (12515 bytes)
      WARN  12:34:57 Error reading row (stacktrace follows):
      org.apache.cassandra.io.sstable.CorruptSSTableException: org.apache.cassandra.serializers.MarshalException: Not enough bytes to read a set
      	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:139) ~[apache-cassandra-2.1.0-rc4.jar:2.1.0-rc4]
      

      Attachments

        1. 0001-test.patch
          3 kB
          Marcus Eriksson
        2. 0001-add-validateCellValue-to-AbstractType.patch
          3 kB
          Yuki Morishita

        Activity

          People

            yukim Yuki Morishita
            jhalliday Jonathan Halliday
            Yuki Morishita
            Tom Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: