You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kang Xiao (Updated) (JIRA)" <ji...@apache.org> on 2011/11/19 15:37:51 UTC
[jira] [Updated] (HADOOP-7195) RawLocalFileSystem.rename() should
not try to do copy
[ https://issues.apache.org/jira/browse/HADOOP-7195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kang Xiao updated HADOOP-7195:
------------------------------
Attachment: HADOOP-7195-v2.patch
update patch for trunk.
other testcases should cover this issuse
> RawLocalFileSystem.rename() should not try to do copy
> -----------------------------------------------------
>
> Key: HADOOP-7195
> URL: https://issues.apache.org/jira/browse/HADOOP-7195
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.20.2, 0.21.0
> Reporter: Kang Xiao
> Attachments: HADOOP-7195-v2.patch, HADOOP-7195.patch
>
>
> RawLocalFileSystem.rename() try to copy file if fails to call rename of java File. It's really confusing to do copy in a rename interface. For example rename(/a/b/c, /e/f/g) will invoke the copy if /e/f does not exist.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira