1.

The output of the reduce task is typically written to the FileSystem via ____________(a) OutputCollector(b) InputCollector(c) OutputCollect(d) All of the mentionedThe question was asked in a job interview.My doubt is from Java Interface in portion HDFS – Hadoop Distributed File System of Hadoop

Answer»

Correct answer is (a) OUTPUTCOLLECTOR

Explanation: In reduce phase the reduce(Object, Iterator, OutputCollector, Reporter) METHOD is called for EACHPAIR in the GROUPED inputs.



Discussion

No Comment Found

Related InterviewSolutions