[
https://issues.apache.org/jira/browse/YARN-7181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161889#comment-16161889
]
Hudson commented on YARN-7181:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12834 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/12834/])
YARN-7181. CPUTimeTracker.updateElapsedJiffies can report negative (haibochen:
rev d2d8f665e62a6ddfe20457fb3a07cc2bea9a856b)
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/CpuTimeTracker.java
* (add)
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestCpuTimeTracker.java
> 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
> Fix For: 3.0.0-beta1
>
> 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: [email protected]
For additional commands, e-mail: [email protected]