← Big Data & Hadoop learning pathBig Data & Hadoop · Module 5 of 10
YARN and cluster management
Manage resources and schedule jobs on a Hadoop cluster.
📖 Key ideas
- ResourceManager allocates cluster resources.
- NodeManagers run containers on each node.
- ApplicationMaster manages one job's tasks.
- Schedulers: FIFO, Capacity, Fair.
- YARN lets Spark, MapReduce and others share a cluster.
💡 Real-life example: YARN is a hotel manager assigning rooms (containers) to guests (jobs) fairly.
ResourceManagerGlobal resource allocator
NodeManagerPer-node agent
ContainerAllocated CPU/memory slot
Fair SchedulerShares resources evenly