[
https://issues.apache.org/jira/browse/HDFS-5591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957471#comment-13957471
]
Hudson commented on HDFS-5591:
------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #5446 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/5446/])
HDFS-5591. Checkpointing should use monotonic time when calculating period.
Contributed by Charles Lamb. (wang:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1583926)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestSecondaryWebUi.java
> Checkpointing should use monotonic time when calculating period
> ---------------------------------------------------------------
>
> Key: HDFS-5591
> URL: https://issues.apache.org/jira/browse/HDFS-5591
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.2.0
> Reporter: Andrew Wang
> Assignee: Charles Lamb
> Priority: Minor
> Labels: newbie
> Fix For: 2.5.0
>
> Attachments: HDFS-5591.001.patch, HDFS-5591.002.patch,
> HDFS-5591.003.patch, HDFS-5591.004.patch, HDFS-5591.005.patch
>
>
> Both StandbyCheckpointer and SecondaryNameNode use {{Time.now}} rather than
> {{Time.monotonicNow}} to calculate how long it's been since the last
> checkpoint. This can lead to issues when the system time is changed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)