| 1. |
What Are The Scheduling Policies Available In Yarn? |
|
Answer» YARN scheduler is responsible for scheduling RESOURCES to user applications based on a DEFINED scheduling policy. YARN provides three scheduling options - FIFO scheduler, Capacity scheduler and Fair scheduler. FIFO Scheduler - FIFO scheduler PUTS application requests in queue and runs them in the order of submission. Capacity Scheduler - Capacity scheduler has a SEPARATE dedicated queue for smaller jobs and starts them as soon as they are submitted. Fair Scheduler - Fair scheduler dynamically BALANCES and allocates resources between all the running jobs. YARN scheduler is responsible for scheduling resources to user applications based on a defined scheduling policy. YARN provides three scheduling options - FIFO scheduler, Capacity scheduler and Fair scheduler. FIFO Scheduler - FIFO scheduler puts application requests in queue and runs them in the order of submission. Capacity Scheduler - Capacity scheduler has a separate dedicated queue for smaller jobs and starts them as soon as they are submitted. Fair Scheduler - Fair scheduler dynamically balances and allocates resources between all the running jobs. |
|