1.

______________ class allows the Map/Reduce framework to partition the map outputs based on certain key fields, not the whole keys.(a) KeyFieldPartitioner(b) KeyFieldBasedPartitioner(c) KeyFieldBased(d) None of the mentionedThis question was posed to me during an interview.The origin of the question is Hadoop Streaming topic in division Mapreduce of Hadoop

Answer» RIGHT choice is (b) KeyFieldBasedPartitioner

For explanation I would SAY: The primary KEY is used for partitioning, and the combination of the primary and secondary keys is used for sorting.


Discussion

No Comment Found

Related InterviewSolutions