hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7467) CleanerChore checkAndDeleteDirectory not deleting empty directories.
Date Wed, 02 Jan 2013 22:16:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542481#comment-13542481
] 

Ted Yu commented on HBASE-7467:
-------------------------------

Looks like your 0.94 workspace is out of date - use the tip of 0.94, please:

p1 7465_7467-v6-0.94.patch
patching file src/main/java/org/apache/hadoop/hbase/master/cleaner/CleanerChore.java
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] y
Hunk #1 FAILED at 142.
Hunk #2 FAILED at 165.
2 out of 2 hunks FAILED -- saving rejects to file src/main/java/org/apache/hadoop/hbase/master/cleaner/CleanerChore.java.rej
patching file src/test/java/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.java
Reversed (or previously applied) patch detected!  Assume -R? [n] ^C
                
> 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: 7465_7467-v5-0.94, 7465_7467-v5.txt, HBASE-7465_7467-v3.patch, HBASE-7465_7467-v4.patch,
HBASE-7465_7467-v5-0.94.patch, HBASE-7465_7467-v6-0.94.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

Mime
View raw message