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?
✗ Incorrect
FIFO Scheduler runs jobs in the order they arrive, first come first served.
What does the Capacity Scheduler guarantee?
✗ Incorrect
Capacity Scheduler divides resources into queues, each with a guaranteed capacity.
Which scheduler aims to balance resource usage fairly among all jobs?
✗ Incorrect
Fair Scheduler balances resources so all jobs get a fair share over time.
YARN stands for:
✗ Incorrect
YARN means Yet Another Resource Negotiator, managing resources in Hadoop.
Which scheduling policy is best when you want guaranteed resource shares for different teams?
✗ Incorrect
Capacity Scheduler allows setting resource capacities per queue, useful for teams.
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.