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

TaskRunner would crash in finally block if taskDistributedCacheManager is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.21.0
    • 0.22.0
    • tasktracker
    • None

    Description

      If TaskRunner throws an Exception before initializing taskDistributedCacheManager, it would crash in finally block at taskDistributedCacheManager.release(). TaskRunner would crash without doing tip.reportTaskFinished() thus not failing the task. Task will be marked FAILED after "mapred.task.timeout" because there is no report from the task.

      We should add a not null check for taskDistributedCacheManager in finally block.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: