Recall & Review
beginner
What is a container in Hadoop YARN?
A container is a resource allocation unit in Hadoop YARN that bundles CPU, memory, and other resources to run a task.
Click to reveal answer
beginner
Why is memory sizing important for containers in Hadoop?
Proper memory sizing ensures tasks run efficiently without crashing or wasting resources, balancing performance and cluster utilization.
Click to reveal answer
intermediate
What happens if a container is assigned less memory than needed?
The container may fail or the task may crash due to out-of-memory errors, causing job failures or retries.
Click to reveal answer
intermediate
How does YARN decide container size?
YARN uses configuration settings like yarn.scheduler.minimum-allocation-mb and yarn.scheduler.maximum-allocation-mb to control container sizes.
Click to reveal answer
intermediate
What is the impact of setting container memory too high?
It can lead to inefficient resource use, fewer containers running simultaneously, and lower cluster throughput.
Click to reveal answer
What does a container in Hadoop YARN include?
✗ Incorrect
Containers bundle CPU, memory, and sometimes other resources to run tasks.
Which configuration controls the minimum container memory in YARN?
✗ Incorrect
yarn.scheduler.minimum-allocation-mb sets the smallest container size allowed.
What is a risk of assigning too little memory to a container?
✗ Incorrect
Insufficient memory causes tasks to crash or fail.
If container memory is set too high, what happens?
✗ Incorrect
High memory per container reduces how many containers fit on nodes.
Which is NOT a resource managed by YARN containers?
✗ Incorrect
YARN containers manage CPU, memory, and disk but not network bandwidth directly.
Explain why correct memory and container sizing is important in Hadoop YARN.
Think about what happens if memory is too low or too high.
You got /4 concepts.
Describe how YARN uses configuration to control container sizes.
Focus on yarn.scheduler.minimum-allocation-mb and yarn.scheduler.maximum-allocation-mb.
You got /4 concepts.