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

CleanerChore checkAndDeleteDirectory not deleting empty directories

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.4, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      CleanerChore checkAndDeleteDirectory is not deleting empty directories. As a result, some directories are kept in the FS but should have been removed.

      To reproduce, simply create an empty directory under /hbase/.archive/table_name/. If you place a file into this directory, it's not more empty and therefore it's correctly removed.

        Attachments

        1. HBASE-7467-v2.patch
          1 kB
          Jean-Marc Spaggiari
        2. HBASE-7467.patch
          0.6 kB
          Jean-Marc Spaggiari
        3. HBASE-7465_7467-v7-0.94.patch
          6 kB
          Jean-Marc Spaggiari
        4. HBASE-7465_7467-v6-0.94.patch
          7 kB
          Jean-Marc Spaggiari
        5. HBASE-7465_7467-v5-0.94.patch
          7 kB
          Jean-Marc Spaggiari
        6. HBASE-7465_7467-v4.patch
          7 kB
          Jean-Marc Spaggiari
        7. HBASE-7465_7467-v3.patch
          6 kB
          Jean-Marc Spaggiari
        8. 7465_7467-v5-0.94
          7 kB
          Ted Yu
        9. 7465_7467-v5.txt
          7 kB
          Ted Yu

          Activity

            People

            • Assignee:
              jmspaggi Jean-Marc Spaggiari
              Reporter:
              jmspaggi Jean-Marc Spaggiari
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: