[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Gummadi updated MAPREDUCE-2850:
------------------------------------

    Attachment: MR2850.v0.patch

Attaching first-cut patch that adds unit test for MR-2413.
The unit test checks if good mapred local dirs of TaskTracker are getting 
updated or not when disks fail. To mimic disk failure, I replaced the specific 
mapred-local-directory with a regular-file of the same name --- thus leading to 
DiskChecker.checkDir() to fail.

Please review the patch and provide your comments.

> 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

        

Reply via email to