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

BootstrapTest occasionally fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.4
    • None
    • None
    • Normal

    Description

      sample failure:

      [junit] Testcase: testAntiCompaction1(org.apache.cassandra.db.BootstrapTest): Caused an ERROR
      [junit] /home/jonathan/projects/cassandra/git-trunk/build/test/cassandra/data/Keyspace1/Standard1-2-Data.db (No such file or directory)
      [junit] java.io.FileNotFoundException: /home/jonathan/projects/cassandra/git-trunk/build/test/cassandra/data/Keyspace1/Standard1-2-Data.db (No such file or directory)
      [junit] at java.io.RandomAccessFile.open(Native Method)
      [junit] at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
      [junit] at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
      [junit] at org.apache.cassandra.io.BufferedRandomAccessFile.<init>(BufferedRandomAccessFile.java:142)
      [junit] at org.apache.cassandra.io.FileStruct.<init>(FileStruct.java:49)
      [junit] at org.apache.cassandra.io.SSTableReader.getFileStruct(SSTableReader.java:321)
      [junit] at org.apache.cassandra.db.ColumnFamilyStore.initializePriorityQueue(ColumnFamilyStore.java:655)
      [junit] at org.apache.cassandra.db.ColumnFamilyStore.doFileAntiCompaction(ColumnFamilyStore.java:911)
      [junit] at org.apache.cassandra.db.ColumnFamilyStore.doAntiCompaction(ColumnFamilyStore.java:814)
      [junit] at org.apache.cassandra.db.BootstrapTest.testAntiCompaction(BootstrapTest.java:63)
      [junit] at org.apache.cassandra.db.BootstrapTest.testAntiCompaction1(BootstrapTest.java:72)

      I have seen someone else mention this on IRC too. Most of the time, the test passes.

      Attachments

        1. 395.patch
          0.8 kB
          Sandeep Tata

        Activity

          People

            sandeep_tata Sandeep Tata
            jbellis Jonathan Ellis
            Sandeep Tata
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: