hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4403) (AM/NM/Container)LivelinessMonitor should use monotonic time when calculating period
Date Tue, 08 Dec 2015 15:58:11 GMT

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

Sunil G commented on YARN-4403:
-------------------------------

Yes. That's definitely a valid reason as per the current usage. Thank you very much for clarifying.

> (AM/NM/Container)LivelinessMonitor should use monotonic time when calculating period
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-4403
>                 URL: https://issues.apache.org/jira/browse/YARN-4403
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Junping Du
>            Assignee: Junping Du
>            Priority: Critical
>         Attachments: YARN-4403-v2.patch, YARN-4403.patch
>
>
> Currently, (AM/NM/Container)LivelinessMonitor use current system time to calculate a
duration of expire which could be broken by settimeofday. We should use Time.monotonicNow()
instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message