Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1748

Refactoring - Conslidate the Transition in TaskAttemptImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.5.1
    • None
    • None
    • None

    Description

      2 points:

      • Some common work needs to be done when TaskAttempt is completed (succeeded/killed/failed), like send event to Task, send event to AMScheduler( it depends on current state ), unregister taskHeartbeatHandler (it depends on current state), we could put them in one places like TaskAttemptImpl.finished(TaskAttemptState)
      • There're many kinds of TerminationTransition, most of them are very similar, can consolidate them into one or two Transition

      Attachments

        1. TEZ-1748.patch
          20 kB
          Jeff Zhang

        Activity

          People

            zjffdu Jeff Zhang
            zjffdu Jeff Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: