[
https://issues.apache.org/jira/browse/HDFS-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hairong Kuang updated HDFS-1481:
--------------------------------
Attachment: trunkValidateUpload1.patch
This patch removed the unnecessary import in CheckPointer.
> NameNode should validate fsimage before rolling
> -----------------------------------------------
>
> Key: HDFS-1481
> URL: https://issues.apache.org/jira/browse/HDFS-1481
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Affects Versions: 0.22.0
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.22.0
>
> Attachments: trunkValidateUpload.patch, trunkValidateUpload1.patch
>
>
> We had an incident that the fsimage at secondary NameNode was truncated but
> got uploaded to the primary NameNode. The primary NameNode simply rolled the
> image without checking its integrity, therefore causing the fsimage to
> corrupt. The primary NameNode should check the new image's integrity before
> rolling fsimage.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.