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

Include tasktracker name in the task attempt error log

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.22.0
    • 0.21.0
    • None
    • None
    • Reviewed

    Description

      When task attempt receive an error, TaskInProgress will log the task attempt id and diagnosis string in the JobTracker log.
      Ex:
      2009-xx-xx 23:50:45,994 INFO org.apache.hadoop.mapred.TaskInProgress: Error from attempt_2009xxxx_xxxx_r_000009_1: Error: java.lang.OutOfMemoryError: Java heap space
      2009-xx-xx 22:53:53,146 INFO org.apache.hadoop.mapred.TaskInProgress: Error from attempt_2009xxxx_xxxx_m_000478_0: Task attempt_2009xxxx_xxxx_m_000478_0 failed to report status for 601 seconds. Killing!

      When we want to debug a machine for example, a node has been blacklisted in the past few days.
      We have to use the task attempt id to find the TT. This is not very convenient.

      It will be nice if we can also log the tasktracker which causes this error.
      This way we can just grep the hostname to quickly find all the relevant error message.

      Attachments

        1. MAPREDUCE-1265-v2.patch
          1 kB
          Scott Chen
        2. MAPREDUCE-1265.patch
          1 kB
          Scott Chen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            schen Scott Chen
            schen Scott Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment