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 "Vinay Kumar Thota (JIRA)" <ji...@apache.org> on 2010/07/06 07:27:50 UTC

[jira] Commented: (MAPREDUCE-1741) Automate the test scenario of job related files are moved from history directory to done directory

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885426#action_12885426 ] 

Vinay Kumar Thota commented on MAPREDUCE-1741:
----------------------------------------------

{noformat}
+    Assert.assertTrue("jobFileFound is false. Job History " +
+        "File is not found in the done directory",
+          jobFileFound);
+    Assert.assertEquals("Both the job related files are not found",
+        fileCount, 2);
{noformat}
Remove the assert statements in private method and check them in the test method block.

> Automate the test scenario of  job related files are moved from history directory to done directory
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1741
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1741
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Iyappan Srinivasan
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1741.patch, TestJobHistoryLocation-ydist-security-patch.txt, TestJobHistoryLocation-ydist-security-patch.txt, TestJobHistoryLocation.patch, TestJobHistoryLocation.patch, TestJobHistoryLocation.patch
>
>
> Job related files are moved from history directory to done directory, when
> 1) Job succeeds
> 2) Job is killed
> 3) When 100 files are put in the done directory
> 4) When multiple jobs are completed at the same time, some successful, some failed.
> Also, two files, conf.xml and job files should be present in the done directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.