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

Suresh Srinivas commented on HDFS-654:
--------------------------------------

> FSNameSystem.checkFsObjectLimit() 
The count changes when the destination is removed. 
{{FSDirectory.removeChild(dstInode)}} and 
{{FSNamesystem.removePathAndBlocks()}} decrements the total INode count and the 
number of blocks. Also the lease to the removed destination is also removed.

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

Reply via email to