Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
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.