Bird
0
0

A Hadoop job is slow because reducers are waiting too long for map outputs. What tuning can reduce this delay?

medium📝 Debug Q7 of 15
Hadoop - Performance Tuning
A Hadoop job is slow because reducers are waiting too long for map outputs. What tuning can reduce this delay?
AIncrease the number of reducers to parallelize reduce phase
BIncrease map task memory to speed up map completion
CDecrease the number of mappers to reduce shuffle data
DSet speculative execution to false
Step-by-Step Solution
Solution:
  1. Step 1: Identify cause of reducer waiting

    Reducers wait for all map tasks to finish and shuffle data before starting.
  2. Step 2: Tune map task memory to speed map completion

    Increasing map memory helps map tasks finish faster, reducing reducer wait time.
  3. Final Answer:

    Increase map task memory to speed up map completion -> Option B
  4. Quick Check:

    Map memory up = Less reducer wait [OK]
Quick Trick: Boost map memory to reduce reducer wait time [OK]
Common Mistakes:
  • Increasing reducers doesn't reduce map wait
  • Decreasing mappers may slow job
  • Disabling speculative execution unrelated here

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes