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

DiskErrorException in TaskTracker when running a job

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

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • Windows, Cygwin

    • 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.patch
          9 kB
          Ravi Gummadi
        2. HADOOP-5194.v1.patch
          9 kB
          Ravi Gummadi

        Activity

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

          People

            ravidotg Ravi Gummadi
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment