1.

___________ generates keys of type LongWritable and values of type Text.(a) TextOutputFormat(b) TextInputFormat(c) OutputInputFormat(d) None of the mentionedThis question was addressed to me in an interview.The origin of the question is Mapreduce Types topic in portion MapReduce Types and Formats of Hadoop

Answer»

Correct answer is (b) TextInputFormat

For explanation I WOULD say: If K2 and K3 are the same, you don’t NEED to CALL setMapOutputKeyClass().



Discussion

No Comment Found

Related InterviewSolutions