Mohit Gaggar created YARN-11693:
-----------------------------------

             Summary: Refactor Container scheduler
                 Key: YARN-11693
                 URL: https://issues.apache.org/jira/browse/YARN-11693
             Project: Hadoop YARN
          Issue Type: Task
          Components: scheduler, scheduler preemption
            Reporter: Mohit Gaggar


Container Scheduler class, responsible for scheduling containers on nodes 
handles multiple smaller responsibilities making it hard to extend the 
functionalities.
This PR works on breaking down the class responsibilities into
 * ContainerQueueManager : handles all queuing related functions, like 
adding/removing to queue
 * ContainerStarter : maintains the running queue of containers and starts new 
containers
 * ContainerPolicyManager : handles the container termination/pausing policy 
when enough resources not available
 * ContainerScheduler : main class which works with other helper classes to 
maintain container queues

!https://msdata.visualstudio.com/25bee5cc-1a60-44a1-904d-a734363b40d4/_apis/git/repositories/719ef898-e962-4b70-a49b-03c67abb2b07/pullRequests/1249358/attachments/Refactoring%20Container%20Scheduler%20%281%29.png|width=710,height=441!

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to