Cloudera
CCD-333 · Question #22
You are developing a combiner that takes as input Text keys, IntWritable values, and emits Text keys, Intwritable values. Which interface should your class implement?
The correct answer is C. Reducer <Text, IntWritable, Text, IntWritable>. See the full explanation below for the reasoning.
Question
You are developing a combiner that takes as input Text keys, IntWritable values, and emits Text keys, Intwritable values. Which interface should your class implement?
Options
- AMapper <Text, IntWritable, Text, IntWritable>
- BReducer <Text, Text, IntWritable, IntWritable>
- CReducer <Text, IntWritable, Text, IntWritable>
- DCombiner <Text, IntWritable, Text, IntWritable>
- ECombiner <Text, Text, IntWritable, IntWritable>
How the community answered
(59 responses)- A3% (2)
- B14% (8)
- C73% (43)
- D2% (1)
- E8% (5)
Community Discussion
No community discussion yet for this question.