[
https://issues.apache.org/jira/browse/HDFS-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daryn Sharp updated HDFS-4232:
------------------------------
Description: 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. (was: 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.)
> 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
> 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