0
0
Hadoopdata~5 mins

YARN scheduling policies in Hadoop - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is YARN in Hadoop?
YARN stands for Yet Another Resource Negotiator. It manages resources and schedules tasks in a Hadoop cluster.
Click to reveal answer
beginner
Name the three main YARN scheduling policies.
The three main YARN scheduling policies are FIFO (First In First Out), Capacity Scheduler, and Fair Scheduler.
Click to reveal answer
beginner
How does FIFO scheduling work in YARN?
FIFO scheduling runs jobs in the order they arrive. The first job submitted runs first, and others wait in line.
Click to reveal answer
intermediate
What is the Capacity Scheduler in YARN?
Capacity Scheduler divides cluster resources into queues with set capacities. Each queue gets a guaranteed share of resources.
Click to reveal answer
intermediate
Explain the Fair Scheduler in YARN.
Fair Scheduler tries to give all jobs an equal share of resources over time. It balances resources so no job waits too long.
Click to reveal answer
Which YARN scheduler runs jobs strictly in the order they arrive?
AFIFO Scheduler
BCapacity Scheduler
CFair Scheduler
DRound Robin Scheduler
What does the Capacity Scheduler guarantee?
AEqual resource share for all jobs
BResources allocated randomly
CResources divided into queues with set capacities
DJobs run in arrival order
Which scheduler aims to balance resource usage fairly among all jobs?
AFair Scheduler
BCapacity Scheduler
CFIFO Scheduler
DPriority Scheduler
YARN stands for:
AYour Application Resource Network
BYet Another Resource Negotiator
CYielding Advanced Resource Node
DYard Allocation Resource Node
Which scheduling policy is best when you want guaranteed resource shares for different teams?
AFIFO Scheduler
BFair Scheduler
CRandom Scheduler
DCapacity Scheduler
Describe the differences between FIFO, Capacity, and Fair scheduling policies in YARN.
Think about how each scheduler treats job order and resource allocation.
You got /3 concepts.
    Explain why you might choose the Capacity Scheduler over FIFO in a multi-team Hadoop cluster.
    Consider resource guarantees and fairness for different users.
    You got /3 concepts.