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

TestHFileCleaner can fail after addition of ManualMobMaintHFileCleaner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.3
    • None
    • test
    • None

    Description

      After https://github.com/apache/hbase/commit/a881678ef4e0ffcd94add935729424c6e2567356 testHFileCleaning can fail due to some lazy directory creation in the test. ManualMobMaintHFileCleaner needs to get the table directory (and indirectly namespace) which can fail since the test itself only creates the file within the archive directory. It does not contain the archive/data/namespace/table/region/cf/ which the ManualMobMaintHFileCleaner expects.

      This is a relatively minor issue, but we saw this test fail when running on EC2 because we had an 'invalid namespace' (because it had a '-' in the path).

      FYI busbey

      Attachments

        Activity

          People

            Unassigned Unassigned
            zyork Zach York
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: