You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jim Kellerman (JIRA)" <ji...@apache.org> on 2008/03/11 19:42:46 UTC

[jira] Created: (HBASE-502) When deleting a directory, use FileUtil.fullyDelete instead of FileSystem.delete

When deleting a directory, use FileUtil.fullyDelete instead of FileSystem.delete
--------------------------------------------------------------------------------

                 Key: HBASE-502
                 URL: https://issues.apache.org/jira/browse/HBASE-502
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: Jim Kellerman
            Priority: Minor


FileUtil.fullyDelete properly deletes a directory by deleting its contents first. While FileSystem.delete works on HDFS, it does not work on local file systems that do not permit a directory to be deleted if it is not empty.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-502) When deleting a directory, use FileUtil.fullyDelete instead of FileSystem.delete

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman resolved HBASE-502.
---------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.2.0

> When deleting a directory, use FileUtil.fullyDelete instead of FileSystem.delete
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-502
>                 URL: https://issues.apache.org/jira/browse/HBASE-502
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Jim Kellerman
>            Priority: Minor
>             Fix For: 0.2.0
>
>
> FileUtil.fullyDelete properly deletes a directory by deleting its contents first. While FileSystem.delete works on HDFS, it does not work on local file systems that do not permit a directory to be deleted if it is not empty.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.