Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
YARN-1011
-
None
-
None
Description
Opportunistic Containers for OverAllocation need to be allocated to pending applications in some fair manner. Rather than evaluating queue and user resource usage (allocated resource usage) and comparing against queue and user limits to decide the allocation, it might make more sense to use a snapshot of actual resource utilization of the queue and user.
To facilitate this, this JIRA proposes to aggregate per user, per app (and maybe per queue) resource utilization in addition to aggregated Container and Node Utilization and send it along with the NM heartbeat. It should be fairly inexpensive to aggregate - since it can be performed in the same loop of the ContainersMonitorImpl's Monitoring thread.
A snapshot aggregate can be made every couple of seconds in the RM. This instantaneous resource utilization should be used to decide if Opportunistic containers can be allocated to an App, Queue or User.
Attachments
Attachments
Issue Links
- blocks
-
YARN-1013 CS should watch resource utilization of containers and allocate speculative containers if appropriate
- Open