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

Daryn Sharp commented on HDFS-4248:
-----------------------------------

Odd, I was having some renames rewrite paths to nest into the target dir.  
Maybe I didn't have a clean tree like I thought I did, or maybe it only 
happened on 23 which is where I did the primary work and then ported to trunk.

Given that this patch, I think, is a very good cleanup of the existing code and 
at a minimum prevents removal in some cases instead of a rewrite of leases - 
which I think causes the dest files under construction to not be written to the 
image - is it ok to commit this patch?
                
> Renames may cause dangling 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
>         Attachments: h4248_20121130_test_rename.patch, 
> HDFS-4248.branch-0.23.patch, HDFS-4248.patch
>
>
> Renames of directories may incorrectly re-write 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