hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Szegedi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7181) CPUTimeTracker.updateElapsedJiffies can report negative usage
Date Fri, 08 Sep 2017 23:47:00 GMT
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.
  public void updateElapsedJiffies(BigInteger elapsedJiffies, long newTime) {
    cumulativeCpuTime = elapsedJiffies.multiply(jiffyLengthInMillis);
    sampleTime = newTime;

This message was sent by Atlassian JIRA

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

View raw message