hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Radia (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6240) Rename operation is not consistent between different implementations of FileSystem
Date Thu, 17 Sep 2009 17:23:57 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756632#action_12756632
] 

Sanjay Radia commented on HADOOP-6240:
--------------------------------------

I like the Overwrite flag. It resolves the option 1 vs option 2 of Suresh's proposal.

I dislike the atomic flag: I routinely write applications that are to be deployed on HDFS.
But I often test these apps on 
the local file system. The atomic flag prevents me from doing such tests (or I am forced to
change the code in order to perform the test).
Let atomicity be a property of the file system. If you care about it then please deploy on
a platform that supports it.
 (So I take back my support for Owen's proposed API of checking if two paths are in the same
partition. Doug convinced me that
such an API is not useful to the app writer.).

I also like Doug's suggestion that if your use case can be addressed by an atomic rename within
a directory then by all means use it 
since it offers the best chance (not 100% but close) of portability.

> Rename operation is not consistent between different implementations of FileSystem
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-6240
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6240
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>
> The rename operation has many scenarios that are not consistently implemented across
file systems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message