hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6240) Rename operation is not consistent betwee different implementations of FileSystem
Date Fri, 04 Sep 2009 23:28:58 GMT

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

Suresh Srinivas commented on HADOOP-6240:
-----------------------------------------

Based on discussion with Sanjay and Owen, here are the next steps:
# Semantics of existing {{FileSystem.rename()}} operation will not be changed to ensure backward
compatibility. Only change to rename implementation is - Local and HDFS file systems will
throw exception instead of returning false. This in most cases should work for existing applications
or change required to handle this is relatively minor.
# FileSystem will have new *protected* method rename2 to be used in {{FileContext}}. This
method will implement rename operation as described in the previous comment. In this jira
the new rename2 will be implemented in Local and HDFS file system. For other file systems,
the implementation will indicate rename2 is not implemented. Jiras will be created to track
this for other file systems.
# New {{FileContext}} interface will use {{rename2}} instead of rename.

> Rename operation is not consistent betwee 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