Bird
0
0

Which of the following is the correct syntax to set the memory allocated to each map task in a Hadoop job configuration?

easy📝 Syntax Q12 of 15
Hadoop - Performance Tuning
Which of the following is the correct syntax to set the memory allocated to each map task in a Hadoop job configuration?
A<code>mapreduce.map.memory.mb=2048</code>
B<code>mapreduce.task.memory.map=2048</code>
C<code>mapreduce.memory.map.task=2048</code>
D<code>mapreduce.mapreduce.memory.mb=2048</code>
Step-by-Step Solution
Solution:
  1. Step 1: Recall the standard memory parameter for map tasks

    The correct parameter to set map task memory is mapreduce.map.memory.mb.
  2. Step 2: Verify syntax correctness

    mapreduce.map.memory.mb=2048 matches the exact syntax used in Hadoop configurations.
  3. Final Answer:

    mapreduce.map.memory.mb=2048 -> Option A
  4. Quick Check:

    Map task memory = mapreduce.map.memory.mb [OK]
Quick Trick: Map memory uses mapreduce.map.memory.mb [OK]
Common Mistakes:
  • Swapping map and reduce memory parameters
  • Using incorrect parameter names
  • Adding extra words like 'task' incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes