hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15901) IPC Client and Server should use Time.monotonicNow() for elapsed times.
Date Mon, 05 Nov 2018 20:02:00 GMT

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

Arpit Agarwal commented on HADOOP-15901:
----------------------------------------

That is depressing to learn.

> IPC Client and Server should use Time.monotonicNow() for elapsed times.
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-15901
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15901
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc, metrics
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Major
>         Attachments: HADOOP-15901-01.patch
>
>
> Client.java and Server.java  uses {{Time.now()}} to calculate the elapsed times/timeouts.
This could result in undesired results when system clock's time changes.
> {{Time.monotonicNow()}} should be used for elapsed time calculations within same JVM.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message