Jan 11, 2020 in Big Data | Hadoop
Q: What is the use of Context object in Hadoop?

1 Answer

0 votes
Jan 11, 2020
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



Related questions

+1 vote
Feb 23, 2020 in Big Data | Hadoop
0 votes
Jan 7, 2020 in Big Data | Hadoop