Forum

This topic contains 0 replies, has 1 voice, and was last updated by  sumansinharoy 3 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3084 Reply

    sumansinharoy
    Participant

    Old Api
    =======
    1. Mapper and Reducer are Interfaces.
    2. We need to import the package org.apache.hadoop.mapred for MR Job
    3. OutputCollector class is used for Mapper and Reducer output
    4. Iterator class is used for Reducer input.
    5. IdentityMapper and/or IdentityReducer classes are called respectively if Mapper and/or Reducer classes are not defined in the MR program.
    6. JobConf class is used to configure and run the MR Jobs.

    New Api
    =======
    1. Mapper and Reducer are abstract classes. We need to extends the class to define Mapper and Reducer classes.
    2. We need to import the package org.apache.hadoop.mapreduce for MR Job
    3. context class is used for Mapper and Reducer output
    4. Iterable class is used for Reducer input.
    5. Mapper and Reducer classes must be define to run the MR Jobs.
    6. Job class is used to configure and run the MR Jobs.

Viewing 1 post (of 1 total)
Reply To: Difference between old API & New API
Your information:




cf22

Your Name (required)

Your Email (required)

Subject

Phone No

Your Message

Cart

  • No products in the cart.