hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-654) HDFS needs to support new rename introduced for FileContext
Date Mon, 19 Oct 2009 19:01:59 GMT

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

Suresh Srinivas updated HDFS-654:
---------------------------------

    Attachment: hdfs-654.7.patch

New patch has the following additional changes:
# Made changes to fix the rename issue in HDFS-677. Before removing src and dst during rename
quota is verified. On any failure adding src and dst back is done without checking for quota.
# RenameAspects.aj which interecepted the calls to FSDirectory.addChild() now intercepts FSDirectory.addChildNoQuotaCheck().
Instead of checked QuotaExceedsException, which cannot be thrown since addChildNoQuotaCheck()
does not throw exception, RuntimeException is thrown.
# Addressed the comment from Nicholas.

> HDFS needs to support new rename introduced for FileContext
> -----------------------------------------------------------
>
>                 Key: HDFS-654
>                 URL: https://issues.apache.org/jira/browse/HDFS-654
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: hdfs-654.1.patch, hdfs-654.2.patch, hdfs-654.3.patch, hdfs-654.5.patch,
hdfs-654.5.patch, hdfs-654.7.patch, HDFS-654.patch
>
>
> New rename functionality with different semantics to overwrite the existing destination
was introduced for use in FileContext. Currently the default implementation in FileSystem
is not atomic. This change implements atomic rename operation for use by FileContext.

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