You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2006/11/27 22:00:23 UTC
[jira] Created: (HADOOP-748) the delete in localfilesystem
traverses symlinks to delete files which is not expected
the delete in localfilesystem traverses symlinks to delete files which is not expected
--------------------------------------------------------------------------------------
Key: HADOOP-748
URL: http://issues.apache.org/jira/browse/HADOOP-748
Project: Hadoop
Issue Type: Bug
Reporter: Mahadev konar
Assigned To: Mahadev konar
Priority: Minor
the fullyDelete in FileUtil follows symlinks and deletes all the files in the symlinks. This is unexpected behaviour. Creates issues with caching as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HADOOP-748) the delete in localfilesystem
traverses symlinks to delete files which is not expected
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-748?page=all ]
Mahadev konar resolved HADOOP-748.
----------------------------------
Resolution: Fixed
resolved by the patch for HADOOP-673.
> the delete in localfilesystem traverses symlinks to delete files which is not expected
> --------------------------------------------------------------------------------------
>
> Key: HADOOP-748
> URL: http://issues.apache.org/jira/browse/HADOOP-748
> Project: Hadoop
> Issue Type: Bug
> Reporter: Mahadev konar
> Assigned To: Mahadev konar
> Priority: Minor
> Attachments: fullydelete.patch
>
>
> the fullyDelete in FileUtil follows symlinks and deletes all the files in the symlinks. This is unexpected behaviour. Creates issues with caching as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-748) the delete in localfilesystem
traverses symlinks to delete files which is not expected
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-748?page=all ]
Mahadev konar updated HADOOP-748:
---------------------------------
Attachment: fullydelete.patch
this patch fixes the issue. This patch uses rm -rf for FileUtil.fullyDelete().
> the delete in localfilesystem traverses symlinks to delete files which is not expected
> --------------------------------------------------------------------------------------
>
> Key: HADOOP-748
> URL: http://issues.apache.org/jira/browse/HADOOP-748
> Project: Hadoop
> Issue Type: Bug
> Reporter: Mahadev konar
> Assigned To: Mahadev konar
> Priority: Minor
> Attachments: fullydelete.patch
>
>
> the fullyDelete in FileUtil follows symlinks and deletes all the files in the symlinks. This is unexpected behaviour. Creates issues with caching as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira