hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-8932) ResourceUtilization cpu is misused in oversubscription
Date Mon, 22 Oct 2018 20:50:00 GMT
Haibo Chen created YARN-8932:

             Summary: ResourceUtilization cpu is misused in oversubscription
                 Key: YARN-8932
                 URL: https://issues.apache.org/jira/browse/YARN-8932
             Project: Hadoop YARN
          Issue Type: Sub-task
    Affects Versions: YARN-1011
            Reporter: Haibo Chen
            Assignee: Haibo Chen

The ResourceUtilization javadoc mistakenly documents the cpu as a percentage represented by
a float number in [0, 1.0f], however it is used as the # of vcores used in reality.

See javadoc and discussion in YARN-8911.
   * Get <em>CPU</em> utilization.
   * @return <em>CPU utilization</em> normalized to 1 CPU
  public abstract float getCPU();

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