You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2012/07/11 03:00:57 UTC
[jira] [Commented] (MAPREDUCE-4403) Adding test case for
resubmission of jobs in TestRecoveryManager
[ https://issues.apache.org/jira/browse/MAPREDUCE-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411119#comment-13411119 ]
Konstantin Shvachko commented on MAPREDUCE-4403:
------------------------------------------------
The code looks good. Two things:
# {{TEST_DIR = "/tmp";}}
It is better if we don't use /tmp in the tests, as /tmp is not being cleaned up by the build clean target. I suggest to replace it with {{TEST_DIR = "build/tmp";}}
# You need to wrap most of the code into {{try finally}}, where {{finally}} and call {{mr.shutdown()}} in the {{finally}} section. You are starting and stopping JobTracker in the test. When it fails the mini-cluster will not shutdown, which may affect subsequent tests.
> Adding test case for resubmission of jobs in TestRecoveryManager
> ----------------------------------------------------------------
>
> Key: MAPREDUCE-4403
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4403
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: jobtracker
> Affects Versions: 0.22.0
> Reporter: Mayank Bansal
> Assignee: Mayank Bansal
> Priority: Minor
> Attachments: MAPREDUCE-4403-22.patch
>
>
> In Hadoop 22 Test recovery Manager does not have resubmission test case which checks after the resubmission jobs get succeeded.
> There is some refactoring is also needed.
> Thanks,
> Mayank
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira