[
https://issues.apache.org/jira/browse/HDFS-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506752#comment-13506752
]
Tsz Wo (Nicholas), SZE commented on HDFS-4232:
----------------------------------------------
Hi Daryn,
Good catch on #2! It is a valid concern but I think it unlikely causes the
problem here. Let's fix it separately.
How do renames cause double leases?
> 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