Latest News

Friday, October 12, 2018

Core methods of Reducer

The three core methods of a Reducer are:

  1. setup(): this method is used for configuring various parameters like input data size, distributed cache.
    public void setup (context)
  2. reduce(): heart of the reducer always called once per key with the associated reduced task
    public void reduce(Key, Value, context)
  3. cleanup(): this method is called to clean temporary files, only once at the end of the task
    public void cleanup (context)
  • Google+
  • Pinterest
« PREV
NEXT »

1 comment

  1. Thanks for sharing this information
    Kiran Infertility Centre is one of the leading infertility treatment clinics in India with branches in Hyderabad, Gurgaon and Bengaluru and is perhaps the best fertility clinic in Hyderabad providing world class treatment options for Infertility such as Surrogacy, I.V.F., I.C.S.I., IUI, Egg/ Oocyte Donation, PGS/ Embryo Donation, Oocyte/Embryo Freezing.Sai Kiran Hospital & Kiran Infertility Center

    ReplyDelete