hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6416) Use Time#monotonicNow in OpenFileCtx and OpenFileCtxCatch to avoid system clock bugs
Date Wed, 28 May 2014 13:57:05 GMT

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

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

FAILURE: Integrated in Hadoop-Hdfs-trunk #1757 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1757/])
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)

Mime
View raw message