1.

Point out the wrong statement.(a) Hadoop sequence file format stores sequences of binary key-value pairs(b) SequenceFileAsBinaryInputFormat is a variant of SequenceFileInputFormat that retrieves the sequence file’s keys and values as opaque binary objects(c) SequenceFileAsTextInputFormat is a variant of SequenceFileInputFormat that retrieves the sequence file’s keys and values as opaque binary objects.(d) None of the mentionedThe question was posed to me in an online interview.My query is from Mapreduce Formats in section MapReduce Types and Formats of Hadoop

Answer»

The correct choice is (c) SequenceFileAsTextInputFormat is a VARIANT of SequenceFileInputFormat that RETRIEVES the sequence FILE’s keys and values as OPAQUE binary objects.

Explanation: SequenceFileAsBinaryInputFormat is used for reading keys, values from SequenceFiles in binary (raw) format.



Discussion

No Comment Found

Related InterviewSolutions