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

Tsz Wo (Nicholas), SZE commented on HDFS-4248:
----------------------------------------------

{quote}
> As for what happens to the leases after renaming [...] I think namenode 
> should release them

I agree, I posed this question in the last paragraph of the first comment on 
this jira. If Nicholas and others think that's the right to do, I can address 
on another jira since I think this issue is a bit more severe.
{quote}

It sounds reasonable to me.  I only has a concern that rename may cause a lot 
of lease recoveries happening at the same time.  BTW, I think there is a bug in 
current code.  Let's discuss it in more details in the new JIRA HDFS-4258.



                
> Renames may remove file leases
> ------------------------------
>
>                 Key: HDFS-4248
>                 URL: https://issues.apache.org/jira/browse/HDFS-4248
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Blocker
>             Fix For: 0.23.6
>
>         Attachments: h4248_20121130_test_rename.patch, 
> HDFS-4248.branch-0.23.patch, HDFS-4248.patch
>
>
> Renames of directories may incorrectly remove the paths in leases under the 
> tree being moved.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to