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

Ravi Prakash updated MAPREDUCE-3798:
------------------------------------

    Attachment: MAPREDUCE-3798.patch

I've ported the test to run from mvn builds. The problem was essentially two 
confs that needed to be set now in the tests: 
{noformat}
conf.set(JHAdminConfig.MR_HISTORY_INTERMEDIATE_DONE_DIR, TEST_ROOT_DIR +
      "/intermediate");   
conf.set(org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter
      .SUCCESSFUL_JOB_OUTPUT_DIR_MARKER, "true");
{noformat}
And also that FileOutputCommitter had been modified in the JIRA's Bobby 
mentioned.

                
> TestJobCleanup testCustomCleanup is failing
> -------------------------------------------
>
>                 Key: MAPREDUCE-3798
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3798
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>              Labels: test
>         Attachments: MAPREDUCE-3798.patch
>
>
> File 
> <somepath>/hadoop-mapreduce-project/build/test/data/test-job-cleanup/output-8/_custom_cleanup
>  missing for job job_20120203035807432_0009
> junit.framework.AssertionFailedError: File 
> <somepath>/hadoop-mapreduce-project/build/test/data/test-job-cleanup/output-8/_custom_cleanup
>  missing for job job_20120203035807432_0009
>       at 
> org.apache.hadoop.mapred.TestJobCleanup.testKilledJob(TestJobCleanup.java:228)
>       at 
> org.apache.hadoop.mapred.TestJobCleanup.testCustomCleanup(TestJobCleanup.java:302)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>       at junit.extensions.TestSetup.run(TestSetup.java:27)

--
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

        

Reply via email to