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

Fix scrubbing of CQL3 created tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.0 beta 2
    • None
    • None
    • Normal

    Description

       INFO 12:20:42,822 Scrubbing SSTableReader(path='/var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ia-1-Data.db')
       WARN 12:20:42,826 Non-fatal error reading row (stacktrace follows)
      java.lang.RuntimeException: Error validating row DecoratedKey(61935297886570031978600740763604084078, 4b6579737061636531)
              at org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:244)
              at org.apache.cassandra.db.compaction.PrecompactedRow.merge(PrecompactedRow.java:111)
              at org.apache.cassandra.db.compaction.PrecompactedRow.<init>(PrecompactedRow.java:95)
              at org.apache.cassandra.db.compaction.CompactionController.getCompactedRow(CompactionController.java:151)
              at org.apache.cassandra.db.compaction.CompactionController.getCompactedRow(CompactionController.java:157)
              at org.apache.cassandra.db.compaction.Scrubber.scrub(Scrubber.java:173)
              at org.apache.cassandra.db.compaction.CompactionManager.scrubOne(CompactionManager.java:495)
              at org.apache.cassandra.db.compaction.CompactionManager.doScrub(CompactionManager.java:484)
              at org.apache.cassandra.db.compaction.CompactionManager.access$300(CompactionManager.java:66)
              at org.apache.cassandra.db.compaction.CompactionManager$3.perform(CompactionManager.java:223)
              at org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:193)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              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)
      Caused by: org.apache.cassandra.db.marshal.MarshalException: String didn't validate.
              at org.apache.cassandra.db.marshal.UTF8Type.validate(UTF8Type.java:65)
              at org.apache.cassandra.db.Column.validateFields(Column.java:287)
              at org.apache.cassandra.db.ColumnFamily.validateColumnFields(ColumnFamily.java:378)
              at org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:240)
              ... 15 more
       WARN 12:20:42,826 Row at 19 is unreadable; skipping to next
       WARN 12:20:42,827 No valid rows found while scrubbing SSTableReader(path='/var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ia-1-Data.db'); it is marked for deletion now. If you want to attempt manual recovery, you can find a copy in the pre-scrub snapshot
      

      Attachments

        1. 4685.txt
          4 kB
          Sylvain Lebresne
        2. scrub-transparency.txt
          1 kB
          Jonathan Ellis

        Activity

          People

            slebresne Sylvain Lebresne
            brandon.williams Brandon Williams
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: