1.

The loader should use ______ method to communicate the load information to the underlying InputFormat.(a) relativeToAbsolutePath()(b) setUdfContextSignature()(c) getCacheFiles()(d) setLocation()I had been asked this question in an interview for job.Question is from User-defined Functions in Pig in portion Pig of Hadoop

Answer»

The correct choice is (d) setLocation()

The best I can explain: setLocation() method is CALLED by Pig to COMMUNICATE the load location to the LOADER.



Discussion

No Comment Found

Related InterviewSolutions