[ 
https://issues.apache.org/jira/browse/HADOOP-5194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679187#action_12679187
 ] 

Ravi Gummadi commented on HADOOP-5194:
--------------------------------------

When setsid is used when creating a process(HADOOP-2721 does this), on windows, 
cygwin, process.waitFor() seem to be not working(not waiting for the process 
completion) if the process is not using input stream and error stream. Can 
someone think of a solution/workaround for this ?

> DiskErrorException in TaskTracker when running a job
> ----------------------------------------------------
>
>                 Key: HADOOP-5194
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5194
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>         Environment: Hudson (Solaris?), Windows, Cygwin
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Ravi Gummadi
>            Priority: Blocker
>             Fix For: 0.21.0
>
>
>  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 message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to