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

Mob compaction needs to clean up files in /hbase/mobdir/.tmp and /hbase/mobdir/.tmp/.bulkload when running into IO exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • mob
    • None
    • Reviewed

    Description

      For the following lines, when it runs into IOException, it does not clean up the files under /hbase/mobdir/.tmp and /hbase/mobdir/.tmp/.bulkload.

      It could be due to creating of new mob file or new reference file under .bulkload directory fails. Or when mob files from ./tmp to the mob region directory fails.

      https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.java#L433

      https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.java#L433

      Attachments

        1. HBASE-16767.master.001.patch
          9 kB
          Hua Xiang
        2. HBASE-16767.master.002.patch
          9 kB
          Hua Xiang
        3. HBASE-16767.master.003.patch
          11 kB
          Hua Xiang
        4. HBASE-16767.master.004.patch
          16 kB
          Hua Xiang
        5. HBASE-16767.master.004.patch
          16 kB
          Hua Xiang
        6. HBASE-16767.master.005.patch
          15 kB
          Hua Xiang

        Issue Links

          Activity

            People

              huaxiang Hua Xiang
              huaxiang Hua Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: