What is the purpose of context object?



What is the purpose of context object?..

Answer / Mrigendra Singh

The Hadoop MapReduce Context object is used by mapper and reducer classes to access various information about the job, such as the configuration parameters, output path, progress reporter, etc. It provides a set of methods that help in writing data to the output, setting configuration properties, getting input splits, and communicating with the framework.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hadoop General Interview Questions

What does secondary name-node means?

1 Answers  


Why Hadoop performs replication, although it results in data redundancy?

1 Answers  


What is the difference between namenode and datanode in hadoop?

1 Answers  


Can you define inputsplit in hadoop?

1 Answers  


After the Map phase finishes, the Hadoop framework does 'Partitioning, Shuffle and sort'. Explain what happens in this phase?

1 Answers  


Can we create a hadoop cluster from scratch?

1 Answers  


What is Slot in Hadoop v1? Why was it removed from Hadoop v2?

1 Answers  


Can you give a detailed overview about the Big Data being generated by Facebook?

1 Answers  


What are the major differences between Hadoop 2 and Hadoop 3?

1 Answers  


What does rack awareness mean?

1 Answers  


What is Distributed Cache in Hadoop?

1 Answers  


How do you overwrite replication factor?

1 Answers  


Categories