Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
If a node has reserved container of an application and the application adds this node into its blacklist, resources on the node can not allocate to other applications in the current allocation process.
In RegularContainerAllocator, if it finds the node is in blacklist, it will not allocate resources. Furthermore, this node has a reserved container, other queues or application will not have opportunity to allocate.
ContainerAllocation tryAllocateOnNode(Resource clusterResource, FiCaSchedulerNode node, SchedulingMode schedulingMode, ResourceLimits resourceLimits, SchedulerRequestKey schedulerKey, RMContainer reservedContainer) { ContainerAllocation result; // Sanity checks before assigning to this node result = checkIfNodeBlackListed(node, schedulerKey); if (null != result) { return result; } // .... }
In this case, the reserved container should be cancelled.
Attachments
Issue Links
- links to