Google News
logo
Hadoop - Quiz(MCQ)
_________ class allows the Map/Reduce framework to partition the map outputs based on certain key fields, not the whole keys.
A)
KeyFieldBased
B)
KeyFieldPartitioner
C)
Both (A) and (B)
D)
KeyFieldBasedPartitioner

Correct Answer :   KeyFieldBasedPartitioner


Explanation : The primary key is used for partitioning, and the combination of the primary and secondary keys is used for sorting.

Advertisement