hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5314) needToSave incorrectly calculated in loadFSImage()
Date Mon, 23 Feb 2009 22:56:02 GMT

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

Konstantin Shvachko updated HADOOP-5314:

    Component/s: dfs

The problem is that on the very first iteration of the loop {{needToSave}} is set to true
and cannot be reset to false after that. It happens because {{checkpointTime}} never equals
{{Long.MIN_VALUE}} while both {{latestNameCheckpointTime}} and {{latestEditsCheckpointTime}}

> needToSave incorrectly calculated in loadFSImage()
> --------------------------------------------------
>                 Key: HADOOP-5314
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5314
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.19.2
> {{FSImage.loadFSImage()}} incorrectly calculates the value of {{needToSave }}, which
is always true and results in saving image at startup even if that is not necessary.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message