HBase
  1. HBase
  2. HBASE-7467

CleanerChore checkAndDeleteDirectory not deleting empty directories

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development