hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7181) CPUTimeTracker.updateElapsedJiffies can report negative usage
Date Mon, 11 Sep 2017 19:39:00 GMT

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

Haibo Chen commented on YARN-7181:
----------------------------------

+1 Will commit it shortly.

> CPUTimeTracker.updateElapsedJiffies can report negative usage
> -------------------------------------------------------------
>
>                 Key: YARN-7181
>                 URL: https://issues.apache.org/jira/browse/YARN-7181
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Miklos Szegedi
>            Assignee: Miklos Szegedi
>         Attachments: YARN-7181.000.patch
>
>
> It happens, when the process exited and elapsedJiffies becomes 0 again.
> {code}
>   public void updateElapsedJiffies(BigInteger elapsedJiffies, long newTime) {
>     cumulativeCpuTime = elapsedJiffies.multiply(jiffyLengthInMillis);
>     sampleTime = newTime;
>  }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message