Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
None
-
None
-
None
Description
In existing YARN-3926 branch, we use BaseResource to handle 2 mandatory resource types (memory+cpu) configured in the system. Once we have 3 or more resource types configured in the system. YARN will use ResourcePBImpl to initialize resource objects, which will be very expensive. We should update BaseResource when do resource calculation in RM instead of using PB-backed resource implementation.
Attachments
Issue Links
- is duplicated by
-
YARN-6909 Use LightWeightedResource when number of resource types more than two
- Resolved