Which method in the Mapper class is called for each key/value pair in the input data?

  • execute()
  • handle()
  • map()
  • process()
In the Mapper class, the method called for each key/value pair in the input data is map(). The map() method is responsible for processing the input and emitting intermediate key-value pairs, which are then sorted and passed to the Reducer.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *