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

Vinod K V commented on HADOOP-5194:
-----------------------------------

Patch looks good overall to me. Two minor nits.
 - There are ^M characters in the patch.
 - The documentation of mapred.tasktracker.tasks.sleeptime-before-sigkill now 
reads _"The time, in milliseconds, the tasktracker waits for sending a SIGKILL 
to a process, after it has been sent a SIGTERM. This is not used on WINDOWS 
now"_. Can you change it to something like _"The time, in milliseconds, the 
tasktracker waits for sending a SIGKILL to a task, after it has been sent a 
SIGTERM. This is currently not used on WINDOWS where tasks are just sent a 
SIGTERM."_ ? 

Can you upload a patch fixing these?

> 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: Windows, Cygwin
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Ravi Gummadi
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5194.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
>  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