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

CompactionTool should close the store it uses for compacting files, in order to properly archive compacted files.

    XMLWordPrintableJSON

Details

    Description

      While using CompactionTool to offload RSes, noticed compacted files were never archived from original region dir, causing the space used by the region to actually double. Going through its compaction related code on HStore, which is used by CompactionTool for performing compactions, found out what that compacted files archiving happens mainly while closing the HStore instance. CompactionTool is never explicitly closing its HStore instance, so adding a simple patch that properly close the store.

      Attachments

        1. HBASE-21959-master-001.patch
          1 kB
          Wellington Chevreuil
        2. HBASE-21959-master-002.patch
          5 kB
          Wellington Chevreuil
        3. HBASE-21959-master-003.patch
          6 kB
          Wellington Chevreuil
        4. HBASE-21959-branch-1-001.patch
          6 kB
          Wellington Chevreuil
        5. HBASE-21959-branch-1-002.patch
          6 kB
          Wellington Chevreuil
        6. HBASE-21959-branch-1.patch
          1 kB
          Andrew Kyle Purtell

        Activity

          People

            wchevreuil Wellington Chevreuil
            wchevreuil Wellington Chevreuil
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: