hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4307) SocketCache should use monotonic time
Date Thu, 13 Dec 2012 22:08:13 GMT

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

Aaron T. Myers commented on HDFS-4307:
--------------------------------------

+1, the latest patch looks good to me. I agree that writing a test for this isn't warranted
in this case.

I'm going to commit this momentarily.
                
> SocketCache should use monotonic time
> -------------------------------------
>
>                 Key: HDFS-4307
>                 URL: https://issues.apache.org/jira/browse/HDFS-4307
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.3-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-4307.001.patch, HDFS-4307.002.patch
>
>
> {{SocketCache}} should use monotonic time, not wall-clock time.  Otherwise, if the time
is adjusted by ntpd or a system administrator, sockets could be either abrupbtly expired,
or left in the cache indefinitely.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message