[ 
https://issues.apache.org/jira/browse/HDFS-6416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011027#comment-14011027
 ] 

Hudson commented on HDFS-6416:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #566 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/566/])
HDFS-6416. Use Time#monotonicNow in OpenFileCtx and OpenFileCtxCatch to avoid 
system clock bugs. Contributed by Abhiraj Butala (brandonli: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1597868)
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/OpenFileCtx.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/OpenFileCtxCache.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Use Time#monotonicNow in OpenFileCtx and OpenFileCtxCatch to avoid system 
> clock bugs
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-6416
>                 URL: https://issues.apache.org/jira/browse/HDFS-6416
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: nfs
>    Affects Versions: 2.4.0
>            Reporter: Brandon Li
>            Assignee: Abhiraj Butala
>            Priority: Minor
>             Fix For: 2.5.0
>
>         Attachments: HDFS-6416.patch
>
>
> As [~cnauroth]  pointed out in HADOOP-10612,  Time#monotonicNow is a more 
> preferred method to use since this isn't subject to system clock bugs (i.e. 
> Someone resets the clock to a time in the past, and then updates don't happen 
> for a long time.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to