[
https://issues.apache.org/jira/browse/MAPREDUCE-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758659#action_12758659
]
Sharad Agarwal commented on MAPREDUCE-1000:
-------------------------------------------
There is already a test case in TestJobHistory.testDoneFolderOnHDFS() which
tests the moveToDone() code path on start up. Instead of adding a full new
MiniMRCluster based testcase I think we can enhance a bit to test this. Also it
would be good to assert that corrupt files got deleted from the current log
directory and didn't move to done folder.
> JobHistory.initDone() should retain the try ... catch in the body
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-1000
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1000
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Hong Tang
> Assignee: Jothi Padmanabhan
> Attachments: mapred-1000.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.