[
https://issues.apache.org/jira/browse/HDFS-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505881#comment-13505881
]
Daryn Sharp commented on HDFS-4232:
-----------------------------------
I have not verified if the issue is present in other versions, but it's very
likely to affect at least 1.x too.
> 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: name-node
> Affects Versions: 0.23.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Blocker
>
> 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
> an image is written when the namesystem and lease manager are temporarily out
> of sync after a delete, 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