hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-730) Local file system uses copy to implement rename
Date Thu, 16 Nov 2006 18:17:38 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-730?page=comments#action_12450476 ] 
Doug Cutting commented on HADOOP-730:

I think the issue was that rename isn't guaranteed to work across volumes.  Linux 'mv' typically
works across volumes these days, by resorting to copying, but I'm not sure what Java's file
rename does.

> Local file system uses copy to implement rename
> -----------------------------------------------
>                 Key: HADOOP-730
>                 URL: http://issues.apache.org/jira/browse/HADOOP-730
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.8.0
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>             Fix For: 0.9.0
> There is a variable LocalFileSystem.useCopyForRename that is set to true. When true,
the local file system will implement rename as a copy followed by a delete. This is likely
a performance problem. Is there a reason that useCopyForRename is set?

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


View raw message