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

Simplify the job updated event notification between Jobtracker and schedulers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • jobtracker
    • None

    Description

      HADOOP-4053 and HADOOP-4149 added events to take care of updates to the state / property of a job like the run state / priority of a job notified to the scheduler. We've seen some issues with this framework, such as the following:

      • Events are not raised correctly at all places. If a new code path is added to kill a job, raising events is missed out.
      • Events are raised with incorrect event data. For e.g. typically start time value is missed out.

      The resulting contract break between jobtracker and schedulers has lead to problems in the capacity scheduler where jobs remain stuck in the queue without being ever removed and so on.

      It has proven complicated to get this right in the framework and fixes have typically still left dangling cases. Or new code paths introduce new bugs.

      This JIRA is about trying to simplify the interaction model so that it is more robust and works well.

      Attachments

        1. eventmodel-1.patch
          45 kB
          Sreekanth Ramakrishnan
        2. eventmodel-2.patch
          44 kB
          Sreekanth Ramakrishnan
        3. eventmodel-3.patch
          47 kB
          Sreekanth Ramakrishnan

        Issue Links

          Activity

            People

              sreekanth Sreekanth Ramakrishnan
              yhemanth Hemanth Yamijala
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: