[
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}} do.
> 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.