[
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.patch
attach file for a sulution.
> 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.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira