Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1158

running_maps is not decremented when the tasks of a job is killed/failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.21.0
    • jobtracker
    • None
    • Reviewed
    • Fix Jobtracker running maps/reduces metrics.

    Description

      running_maps counter in the metrics is not decremented when the tasks of a job is killed/failed. Below are the exact steps to reproduce the problem:

      • Initially running_maps=0
      • Submit a job with 5 maps. running_maps is set to 5
      • Kill 2 attempts of a map task
      • Fail 4 attempts of the same map task so that the job is finally marked killed.
      • Once the job is marked killed, running_maps is set to 3 and not 0.

      Attachments

        1. 1158_yahoo.patch
          7 kB
          Sharad Agarwal
        2. 1158.patch
          8 kB
          Sharad Agarwal

        Activity

          People

            sharadag Sharad Agarwal
            rramya Ramya Sunil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: