[ 
https://issues.apache.org/jira/browse/HBASE-7467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Marc Spaggiari updated HBASE-7467:
---------------------------------------

    Attachment: HBASE-7465_7467-v4.patch

So. Another version is attached with the catch for IOException.

FSUtils.listStatus(fs, toCheck); can still throw an IOException, so we are fine 
to keep the throws IOException declaration.

Again, this is also including Jesse's fix for 7465.
                
> CleanerChore checkAndDeleteDirectory not deleting empty directories.
> --------------------------------------------------------------------
>
>                 Key: HBASE-7467
>                 URL: https://issues.apache.org/jira/browse/HBASE-7467
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Marc Spaggiari
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.5
>
>         Attachments: HBASE-7465_7467-v3.patch, HBASE-7465_7467-v4.patch, 
> HBASE-7467.patch, HBASE-7467-v2.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to