0
0
Hadoopdata~5 mins

ResourceManager and NodeManager in Hadoop - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
ANodeManager
BResourceManager
CNameNode
DJobTracker
What is the primary function of the ResourceManager?
AStore data blocks
BManage resource allocation across the cluster
CExecute tasks on nodes
DMonitor network traffic
If a NodeManager stops sending heartbeats, what does the ResourceManager do?
AReallocates tasks to other nodes
BIgnores it
CShuts down the cluster
DRestarts the NodeManager automatically
Which of these is NOT a responsibility of the NodeManager?
AMonitoring resource usage on the node
BReporting node status to ResourceManager
CLaunching and managing containers
DAllocating resources cluster-wide
In YARN, the ResourceManager acts as the:
AData storage node
BSlave node
CMaster node
DClient node
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.