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

log.index (No such file or directory) AND Task process exit with nonzero status of 126



    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s:, 1.0.1
    • Fix Version/s: 1.0.3
    • Labels:
    • Environment:
    • Target Version/s:
    • Tags:
      mapreduce tasktracker


      hello´╝îI have dwelled on this hadoop(cdhu3) problem for 2 days,I have tried every google method.This is the issue: when ran hadoop example "wordcount" ,the tasktracker's log in one slave node presented such errors

      1.WARN org.apache.hadoop.mapred.DefaultTaskController: Task wrapper stderr: bash: /var/tmp/mapred/local/ttprivate/taskTracker/hdfs/jobcache/job_201203131751_0003/attempt_201203131751_0003_m_000006_0/taskjvm.sh: Permission denied

      2.WARN org.apache.hadoop.mapred.TaskRunner: attempt_201203131751_0003_m_000006_0 : Child Error java.io.IOException: Task process exit with nonzero status of 126.

      3.WARN org.apache.hadoop.mapred.TaskLog: Failed to retrieve stdout log for task: attempt_201203131751_0003_m_000003_0 java.io.FileNotFoundException: /usr/lib/hadoop-0.20/logs/userlogs/job_201203131751_0003/attempt_201203131751_0003_m_000003_0/log.index (No such file or directory)

      I could not find similar issues in google,just got some posts seem a little relevant ,which suggest: A. the ulimit of hadoop user---but my ulimit is set large enough for this bundled example;B. the memory used by jvm,but my jvm only use Xmx200m,too small to exceed the limit of my machine ;C.the privilege of the mapred.local.dir and logs dir--I set them by "chmod 777";D .the disk space is full---there are enough space for hadoop in my log directory and mapred.local.dir.

      Thanks for you all,I am really at my wit's end,I have spend days on it. I really appreciate any light!


        1. mapreduce-4003-1.patch
          2 kB
          Koji Noguchi
        2. MAPREDUCE-4003-branch1.patch
          2 kB
          Thomas Graves



            • Assignee:
              knoguchi Koji Noguchi
              zaozaowang toughman
            • Votes:
              0 Vote for this issue
              8 Start watching this issue


              • Created: