0 votes
in Big Data | Hadoop by
What is the use of Context object in Hadoop?

1 Answer

0 votes
by
Hadoop uses Context object with Mapper to interact with rest of the system. Context object gets the configuration of the system and job in its constructor.

We use Context object to pass the information in setup(), cleanup() and map() methods. This is an important object that makes the important information available during the map

 

operations.
...