hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2280) BackupNode fails with MD5 checksum Exception during checkpoint if BN's image is outdated.
Date Thu, 25 Aug 2011 00:43:29 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Shvachko updated HDFS-2280:
--------------------------------------

    Attachment: checksumException.patch

In the patch I 
# set {{imageDigest}} to null in {{BackupStorage.reset()}} to make sure the old digest is
not interfering with newly loaded images.
# and populate {{imageDigest}} obtained from NN to BN's {{imageDigest}} before the new image
is loaded on BN in order to ensure it is verified against the expected value.

> BackupNode fails with MD5 checksum Exception during checkpoint if BN's image is outdated.
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-2280
>                 URL: https://issues.apache.org/jira/browse/HDFS-2280
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.22.0
>
>         Attachments: checksumException.patch
>
>
> If BN starts after NN made changes to namespace it fails with MD5 checksum Exception
during checkpoint when it reads new image upload from NN. This is happening because {{imageDigest}}
is not reset to null, but keeps the value of the originally loaded BN image.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message