Affects Version/s: YARN-1011
Fix Version/s: YARN-1011
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();