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

Daryn Sharp commented on HDFS-4232:
-----------------------------------

As I was writing tests, I found that renames can cause double leases for old 
and new path!  Will have a patch shortly.
                
> NN fails to write a fsimage with stale leases
> ---------------------------------------------
>
>                 Key: HDFS-4232
>                 URL: https://issues.apache.org/jira/browse/HDFS-4232
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 0.23.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Blocker
>         Attachments: HDFS-4232.patch
>
>
> The reading of a fsimage will ignore leases for non-existent files, but the 
> writing of an image will fail if there are leases for non-existent files.  If 
> the image contains leases that reference a non-existent file, then the NN 
> will fail to start, and the 2NN will start but fail to ever write an image.

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