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

CorruptSSTableException should print the SS Table Name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.12, 2.2.4, 3.0.1, 3.1
    • None
    • None
    • Azure

    • Low

    Description

      We should print the SS Table name that's being reported as corrupt to help with quick recovery.

      INFO 16:32:15 Opening /mnt/cassandra/data/exchangecf/udsuserhourlysnapshot-d1260590711511e587125dc4955cc492/exchangecf-udsuserhourlysnapshot-ka-21214 (23832772 bytes)
      INFO 16:32:15 Opening /mnt/cassandra/data/exchangecf/udsuserhourlysnapshot-d1260590711511e587125dc4955cc492/exchangecf-udsuserhourlysnapshot-ka-18398 (149675 bytes)
      INFO 16:32:15 Opening /mnt/cassandra/data/exchangecf/udsuserhourlysnapshot-d1260590711511e587125dc4955cc492/exchangecf-udsuserhourlysnapshot-ka-23707 (18270 bytes)
      INFO 16:32:15 Opening /mnt/cassandra/data/exchangecf/udsuserhourlysnapshot-d1260590711511e587125dc4955cc492/exchangecf-udsuserhourlysnapshot-ka-13656 (814588 bytes)
      ERROR 16:32:15 Exiting forcefully due to file system exception on startup, disk failure policy "stop"
      org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException
      at org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:131) ~[apache-cassandra-2.1.9-SNAPSHOT.jar:2.1.9-SNAPSHOT]
      at org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:85) ~[apache-cassandra-2.1.9-SNAPSHOT.jar:2.1.9-SNAPSHOT]
      at org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:79) ~[apache-cassandra-2.1.9-SNAPSHOT.jar:2.1.9-SNAPSHOT]
      at org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:72) ~[apache-cassandra-2.1.9-SNAPSHOT.jar:2.1.9-SNAPSHOT]
      at

      Attachments

        Activity

          People

            jjordan Jeremiah Jordan
            anubhavk Anubhav Kale
            Jeremiah Jordan
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: