Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
When NM restart, containers will be recovered. However, only memory and vcores in capability have been recovered. All resources need to be recovered.
ContainerImpl.java
// resource capability had been updated before NM was down this.resource = Resource.newInstance(recoveredCapability.getMemorySize(), recoveredCapability.getVirtualCores());
It should be like this.
ContainerImpl.java
// resource capability had been updated before NM was down // need to recover all resources, not only <mem, vcores> this.resource = Resources.clone(recoveredCapability);
Attachments
Attachments
Issue Links
- is related to
-
YARN-3926 [Umbrella] Extend the YARN resource model for easier resource-type management and profiles
- Resolved