1.

____________ method enables the RecordReader associated with the InputFormat provided by the LoadFunc is passed to the LoadFunc.(a) getNext()(b) relativeToAbsolutePath()(c) prepareToRead()(d) all of the mentionedI had been asked this question in an internship interview.The query is from User-defined Functions in Pig topic in division Pig of Hadoop

Answer»

The CORRECT choice is (c) prepareToRead()

The best EXPLANATION: The RECORDREADER can then be used by the implementation in getNext() to return a TUPLE REPRESENTING a record of data back to pig.



Discussion

No Comment Found

Related InterviewSolutions