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] Commented: (HDFS-654) HDFS needs to support new rename introduced for FileContext
Date Mon, 28 Sep 2009 00:15:15 GMT

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

Suresh Srinivas commented on HDFS-654:

Dhruba this is as per the discussion in HADOOP-6240. This introduced a non atomic new Rename,
as described in FileSystem#rename(String, String, Rename...). This change is overrides the
default implementation. In addition to new semantics, rename will be atomic.

bq. Maybe I missed something, but does this do the right accounting for calculating the total
number of inodes in the filesystem(to ensure correct working of namespace quotas)?
can you be more elaborate? I did not understand the concern.

> 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
>         Attachments: hdfs-654.1.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.

View raw message