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 00:27:57 GMT

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

Sanjay Radia commented on HADOOP-6240:

Proposal for rename spec
#  Rename may be atomic; please see the fs impl for further details. 
# Most file system are likely to support atomic renames within a dir.
Is item 2 even needed?

If we all agree on the above then lets move forward. 
There is a part  (see below the line)  that still puzzles me, but we can resolve that later.


It appears that you are being inconsistent  in dealing with the lack of guarantee in atomicity
for  rename across dirs and within dirs.
Neither are guaranteed to be atomic  across *all* file system but your wording for the two
seems to be different.

You are objecting to me adding 
* Some FSs may also support atomic rename across dirs within the same volume and partition.
How is this different from item 2 above?

Further you are implicitly saying that we do NOT support use cases for doing a rename across
 I am not disagreeing with you but I am worried that since most filesystems support atomic
renames across dirs, we are indeed 
dropping an important use case.

> 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.

View raw message