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

TT should fail task immediately if userlog dir cannot be created

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.22.0
    • None
    • tasktracker
    • None

    Description

      Currently, TaskRunner will log the message "mkdirs failed. Ignoring" if it fails to mkdir the userlog directory for a task. Then, it goes on to spawn taskjvm.sh which tries to redirect output into the userlogs dir, thus failing with exit code 1. This leads to error messages that are very hard to diagnose ("task failed with exit status 1") in cases where the userlog directory has either become inaccessible or has reached the maximum number of dirents (32000 in ext3)

      Attachments

        1. MAPREDUCE-2592.r1.diff
          0.8 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: