You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andras Bokor (JIRA)" <ji...@apache.org> on 2016/07/22 15:32:20 UTC

[jira] [Resolved] (HDFS-10385) LocalFileSystem rename() function should return false when destination file exists

     [ https://issues.apache.org/jira/browse/HDFS-10385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andras Bokor resolved HDFS-10385.
---------------------------------
    Resolution: Later

> LocalFileSystem rename() function should return false when destination file exists
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-10385
>                 URL: https://issues.apache.org/jira/browse/HDFS-10385
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.6.0
>            Reporter: Aihua Xu
>            Assignee: Xiaobing Zhou
>
> Currently rename() of LocalFileSystem returns true and renames successfully when the destination file exists. That seems to have different behavior from DFSFileSystem. 
> If they can have the same behavior, then we can use one call to do rename rather than checking if destination exists and then making rename() call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org