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
@Unstable
public abstract float getCPU();
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]