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

sstablesplit incorrectly ignores SStable files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • Legacy/Tools
    • None
    • Linux

    • Low

    Description

      When trying to test sstablesplit on a valid sstable I see messages like

      "Skipping non sstable file mc-7-big-Data.db"

      This is clearly an sstable, so it looks like the parser for valid sstables is still assuming the old file name format.

      StandaloneSplitter appears to call tryComponentFromFilename which calls fromFilename in src/java/org/apache/cassandra/io/sstable/Component.java

      Checking the in Component.java I see a comment that looks like the code is looking for the old sstable file name format:

      • {@code * Filename of the form "<ksname>/<cfname>-[tmp-][<version>-]<gen>-<component>", * }

      Attachments

        Activity

          People

            Unassigned Unassigned
            cgilmore Cliff Gilmore
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: