1.

Why Context object is used in Hadoop?

Answer»

In Hadoop, Context object is used ALONG with the Mapper class so that it can interact with the other remaining parts of the system. USING the Context object, all the JOBS and the system configuration details can be EASILY obtained in its constructor.

Information can be easily passed or sent to the methods like cleanup(), setup() and map() using the Context object. During map operations, vital information can be made AVAILABLE using the Context object.



Discussion

No Comment Found