Recall & Review
beginner
What is the main role of the ResourceManager in Hadoop?
The ResourceManager manages the allocation of resources across all the nodes in the cluster. It tracks available resources and assigns them to applications.
Click to reveal answer
beginner
What does the NodeManager do in a Hadoop cluster?
The NodeManager runs on each node and manages the node's resources. It monitors resource usage like CPU and memory and reports this to the ResourceManager.
Click to reveal answer
intermediate
How do ResourceManager and NodeManager work together?
ResourceManager allocates resources and schedules tasks, while NodeManager executes tasks on its node and reports status back to ResourceManager.
Click to reveal answer
intermediate
Why is ResourceManager considered the master in YARN architecture?
Because it centrally manages all resource allocation and scheduling decisions for the entire cluster, coordinating all NodeManagers.
Click to reveal answer
advanced
What happens if a NodeManager fails in the cluster?
The ResourceManager detects the failure because it stops receiving heartbeats from that NodeManager and reallocates tasks to other healthy nodes.
Click to reveal answer
Which component in Hadoop is responsible for tracking resource usage on individual nodes?
✗ Incorrect
NodeManager runs on each node and monitors resource usage like CPU and memory.
What is the primary function of the ResourceManager?
✗ Incorrect
ResourceManager manages resource allocation and scheduling for the whole cluster.
If a NodeManager stops sending heartbeats, what does the ResourceManager do?
✗ Incorrect
ResourceManager reallocates tasks to healthy nodes when a NodeManager fails.
Which of these is NOT a responsibility of the NodeManager?
✗ Incorrect
ResourceManager handles cluster-wide resource allocation, not NodeManager.
In YARN, the ResourceManager acts as the:
✗ Incorrect
ResourceManager is the master node managing resource allocation and scheduling.
Explain the roles of ResourceManager and NodeManager in Hadoop and how they interact.
Think about who controls the whole cluster and who controls each node.
You got /5 concepts.
Describe what happens when a NodeManager fails in a Hadoop cluster.
Focus on failure detection and task reassignment.
You got /5 concepts.