[
https://issues.apache.org/jira/browse/MAPREDUCE-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112998#comment-13112998
]
Eli Collins commented on MAPREDUCE-2850:
----------------------------------------
Took a quick look:
In prepareDirToFail it says the file is set to perms "000" but
File#createNewFile uses the default perms (eg 644 with umask 022), so it should
still be accessible right?
If you want not always have waitForDiskHealthCheck wait for 10s at a time seems
like you can lower the DISK_HEALTH_CHECK_INTERVAL to eg 1s.
Would also be good to test startup with a failed directory. Feel free to punt
this to MAPREDUCE-2921.
Otherwise looks good.
> TaskTracker disk failure handling (MR-2413) has no test coverage
> ----------------------------------------------------------------
>
> Key: MAPREDUCE-2850
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2850
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Components: tasktracker
> Affects Versions: 0.20.204.0
> Reporter: Eli Collins
> Assignee: Ravi Gummadi
> Fix For: 0.20.205.0
>
> Attachments: MR2850.v0.patch
>
>
> MR-2413 doesn't have any test coverage that eg tests that the TT can survive
> disk failure.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira