1.

InputFormat class calls the ________ function and computes splits for each file and then sends them to the jobtracker.(a) puts(b) gets(c) getSplits(d) all of the mentionedI have been asked this question in examination.This question is from Data Flow in section HDFS – Hadoop Distributed File System of Hadoop

Answer» RIGHT answer is (c) getSplits

Easy explanation: INPUTFORMAT uses their storage LOCATIONS to SCHEDULE map tasks to process them on the tasktrackers.


Discussion

No Comment Found

Related InterviewSolutions