Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8067

TestHFileArchiving.testArchiveOnTableDelete sometimes fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.6, 0.95.2
    • 0.98.0, 0.95.2, 0.94.11
    • Admin, master, test
    • None
    • Reviewed

    Description

      it seems that testArchiveOnTableDelete() fails because the archiving in DeleteTableHandler is still in progress when admin.deleteTable() returns.

      Error Message
      Archived files are missing some of the store files!
      
      Stacktrace
      java.lang.AssertionError: Archived files are missing some of the store files!
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.apache.hadoop.hbase.backup.TestHFileArchiving.testArchiveOnTableDelete(TestHFileArchiving.java:262)
      

      (Looking at the problem in a more generic way, we don't have any way to inform the client when an async operation is completed)

      Attachments

        1. 8067-0.94.txt
          4 kB
          Lars Hofhansl
        2. 8067-trunk.txt
          4 kB
          Lars Hofhansl
        3. HBASE-8067-debug.patch
          2 kB
          Matteo Bertozzi
        4. HBASE-8067-v0.patch
          0.8 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: