hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10385) LocalFileSystem rename() function should return false when destination file exists
Date Thu, 19 May 2016 17:44:13 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15291630#comment-15291630
] 

Andras Bokor commented on HDFS-10385:
-------------------------------------

Previously, I had a discussion with [~cnauroth] and [~stevel@apache.org] about changing rename
behaviors and finally that JIRA was resolved with "Later" resolution. Please check the HADOOP-13082
for details. Even if we change behaviors it should be part of a bigger and more complex change
because there are lot of differences between rename behaviors in different FS implementations.

Based on that this should be closed either. What do you guys think?

> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message