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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to