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

        Jean-Marc Spaggiari created issue -
        Lars Hofhansl made changes -
        Field Original Value New Value
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.5 [ 12323874 ]
        Jean-Marc Spaggiari made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jean-Marc Spaggiari made changes -
        Attachment HBASE-7467.patch [ 12562743 ]
        Jean-Marc Spaggiari made changes -
        Attachment HBASE-7467-v2.patch [ 12562748 ]
        Jean-Marc Spaggiari made changes -
        Attachment HBASE-7465_7467-v3.patch [ 12562751 ]
        Jean-Marc Spaggiari made changes -
        Attachment HBASE-7465_7467-v4.patch [ 12562806 ]
        Ted Yu made changes -
        Attachment 7465_7467-v5.txt [ 12562823 ]
        Jean-Marc Spaggiari made changes -
        Attachment HBASE-7465_7467-v5-0.94.patch [ 12562931 ]
        Ted Yu made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Ted Yu made changes -
        Attachment 7465_7467-v5-0.94 [ 12562937 ]
        Jean-Marc Spaggiari made changes -
        Attachment HBASE-7465_7467-v6-0.94.patch [ 12562979 ]
        Jean-Marc Spaggiari made changes -
        Attachment HBASE-7465_7467-v7-0.94.patch [ 12562989 ]
        Ted Yu made changes -
        Assignee Jean-Marc Spaggiari [ jmspaggi ]
        Ted Yu made changes -
        Summary CleanerChore checkAndDeleteDirectory not deleting empty directories. CleanerChore checkAndDeleteDirectory not deleting empty directories
        Ted Yu made changes -
        Fix Version/s 0.94.4 [ 12323367 ]
        Fix Version/s 0.94.5 [ 12323874 ]
        Ted Yu made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Lars Hofhansl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.4 [ 12323367 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.5 [ 12323874 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.4 [ 12323367 ]
        Fix Version/s 0.94.5 [ 12323874 ]

          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