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

Allen Wittenauer resolved HDFS-2748.
------------------------------------
    Resolution: Fixed

This is likely a stale issue. Closing. Reopen if you feel otherwise.


> fstime of image file newer than fstime of editlog
> -------------------------------------------------
>
>                 Key: HDFS-2748
>                 URL: https://issues.apache.org/jira/browse/HDFS-2748
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>            Reporter: Denny Ye
>              Labels: hdfs
>
> 1.1 first shutdown, then restart and then the fsimage was loaded and saved to 
> disk and editlog was cleared.
> 1.2 shutdown again when in safe mode to make sure no change in editlog, then 
> restart and then the fsimage was loaded and save to disk again, but the 
> editlog was not refreshed because it was empty.
> 1.3 shutdown again when in safe mode to make sure no change in editlog, the 
> restart and then an ERROR printed in log which basically was saying fstime of 
> fsimage was larger then fstime of editlog (which was obviously caused by 
> saving fsimage again and again when no change in editlog), and then the 
> editlog would be discarded (this is OK, the editlog was empty), and current 
> fsimage would be loaded as the latest fsimage. And again save fsimage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to