nerdexam
Cloudera

CCD-410 · Question #40

You've written a MapReduce job that will process 500 million input records and generated 500 million key-value pairs. The data is not uniformly distributed. Your MapReduce job will create a…

The correct answer is F. Combiner. Combiners are used to increase the efficiency of a MapReduce program. They are used to aggregate intermediate map output locally on individual mapper outputs. Combiners can help you reduce the amount of data that needs to be transferred across to the reducers. You can use your…

Performance Tuning and Troubleshooting

Question

You've written a MapReduce job that will process 500 million input records and generated 500 million key-value pairs. The data is not uniformly distributed. Your MapReduce job will create a significant amount of intermediate data that it needs to transfer between mappers and reduces which is a potential bottleneck. A custom implementation of which interface is most likely to reduce the amount of intermediate data transferred across the network?

Options

  • APartitioner
  • BOutputFormat
  • CWritableComparable
  • DWritable
  • EInputFormat
  • FCombiner

How the community answered

(55 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    5% (3)
  • D
    7% (4)
  • F
    84% (46)

Explanation

Combiners are used to increase the efficiency of a MapReduce program. They are used to aggregate intermediate map output locally on individual mapper outputs. Combiners can help you reduce the amount of data that needs to be transferred across to the reducers. You can use your reducer code as a combiner if the operation performed is commutative and associative.

Topics

#combiner#intermediate data reduction#network bottleneck#Partitioner

Community Discussion

No community discussion yet for this question.

Full CCD-410 Practice