Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
YARN-1011
-
None
-
None
-
Reviewed
Description
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();
Attachments
Attachments
Issue Links
- is related to
-
YARN-8911 ContainerScheduler incorrectly uses percentage number as the cpu resource utlization
- Patch Available