Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5194

DiskErrorException in TaskTracker when running a job

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows, Cygwin

    • Hadoop Flags:
      Reviewed

      Description

      In particular, this can be reproduced in Windows by running a hadoop example such as PiEstimator.

      org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find taskTracker/pids/attempt_200902021632_0001_m_000002_0 in any of the configured local directories
      	at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathToRead(LocalDirAllocator.java:381)
      	at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathToRead(LocalDirAllocator.java:138)
      	at org.apache.hadoop.mapred.TaskTracker.getPidFilePath(TaskTracker.java:430)
      	at org.apache.hadoop.mapred.TaskTracker.removePidFile(TaskTracker.java:440)
      	at org.apache.hadoop.mapred.JvmManager$JvmManagerForType$JvmRunner.runChild(JvmManager.java:370)
      	at org.apache.hadoop.mapred.JvmManager$JvmManagerForType$JvmRunner.run(JvmManager.java:338)
      

      (Have changed TaskTracker.java to print out the trace.)

      This patch disables usage of setsid and pidfiles on Windows.

        Attachments

        1. HADOOP-5194.v1.patch
          9 kB
          Ravi Gummadi
        2. HADOOP-5194.patch
          9 kB
          Ravi Gummadi

          Activity

            People

            • Assignee:
              ravidotg Ravi Gummadi
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: