You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2018/11/05 09:39:00 UTC

[jira] [Created] (HADOOP-15901) IPC Client and Server should use Time.monotonicNow() for elapsed times.

Vinayakumar B created HADOOP-15901:
--------------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org