1.

The key, a ____________ is the byte offset within the file of the beginning of the line.(a) LongReadable(b) LongWritable(c) LongWritable(d) All of the mentionedThis question was addressed to me in an online interview.Query is from Mapreduce Formats topic in division MapReduce Types and Formats of Hadoop

Answer»

Right answer is (b) LongWritable

For explanation I would SAY: The value is the contents of the line, EXCLUDING any line TERMINATORS (newline, carriage return), and is packaged as a TEXT object.



Discussion

No Comment Found

Related InterviewSolutions