You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2017/09/08 23:47:00 UTC

[jira] [Created] (YARN-7181) CPUTimeTracker.updateElapsedJiffies can report negative usage

Miklos Szegedi created YARN-7181:
------------------------------------

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


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