Hadoop Common
  1. Hadoop Common
  2. HADOOP-5194

DiskErrorException in TaskTracker when running a job

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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.

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

        Activity

        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Robert Chansler made changes -
        Release Note This patch disables usage of setsid and pidfiles on Windows.
        Description  In particular, this can be reproduced in Windows by running a hadoop example such as PiEstimator.
        {noformat}
        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)
        {noformat}
        (Have changed TaskTracker.java to print out the trace.)
         In particular, this can be reproduced in Windows by running a hadoop example such as PiEstimator.
        {noformat}
        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)
        {noformat}
        (Have changed TaskTracker.java to print out the trace.)

        This patch disables usage of setsid and pidfiles on Windows.
        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]
        Devaraj Das made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Ravi Gummadi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note This patch disables usage of setsid and pidfiles on Windows.
        Ravi Gummadi made changes -
        Attachment HADOOP-5194.v1.patch [ 12403683 ]
        Ravi Gummadi made changes -
        Attachment HADOOP-5194.patch [ 12403627 ]
        Tsz Wo Nicholas Sze made changes -
        Environment Hudson (Solaris?), Windows, Cygwin Windows, Cygwin
        Vinod Kumar Vavilapalli made changes -
        Fix Version/s 0.21.0 [ 12313563 ]
        Vinod Kumar Vavilapalli made changes -
        Remaining Estimate 0h [ 0 ]
        Original Estimate 0h [ 0 ]
        Fix Version/s 0.21.0 [ 12313563 ]
        Ravi Gummadi made changes -
        Assignee Ravi Gummadi [ ravidotg ]
        Tsz Wo Nicholas Sze made changes -
        Environment Windows, Cygwin Hudson (Solaris?), Windows, Cygwin
        Ravi Gummadi made changes -
        Field Original Value New Value
        Fix Version/s 0.21.0 [ 12313563 ]
        Priority Major [ 3 ] Blocker [ 1 ]
        Tsz Wo Nicholas Sze created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development