hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3083) Remove lease when file is renamed
Date Tue, 25 Mar 2008 06:15:29 GMT

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

dhruba borthakur commented on HADOOP-3083:
------------------------------------------

The HDFS client talks to the namenode using the pathname as the identifier. For example, if
the client needs to allocate a new block, it sends a block-allocation request to the namenode.
The namenode looks up the inode using the pathname and associates a new block with the file.
So, a file is renamed, all new request for block allocations using the old pathname fails.
So, just fixing the lease is not sufficient to support writing to files across renames.

> Remove lease when file is renamed
> ---------------------------------
>
>                 Key: HADOOP-3083
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3083
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>
> When a file/directory is removed, the namenode should remove lease(s) for files that
were affected by the rename.

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