The unit tests which involve launching a child M-R job, which include
exactly the ones you've enlisted, will fail with Hadoop-2.x if using a
version older than 4.0
See JIRA https://issues.apache.org/jira/browse/OOZIE-1374

We will be releasing Oozie-4.0 shortly.

--
Mona

On 7/31/13 9:39 AM, "Amir Sanjar" <[email protected]> wrote:

>
>
>
>Hi Mohammad,
>Thanks for the reply, we made changes in four pom.xml files listed below.
>Basically, we replaced all references to hadoop-2.0.2-alpha with
>hadoop-2.0.4-alpha
>       hadooplibs/hadoop-test-2/pom.xml
>       hadooplibs/hadoop-2/pom.xml
>       hadooplibs/hadoop-distcp-2/pom.xml
>       pom.xml
>
>
>
>Best Regards
>Amir Sanjar
>
>
>PowerLinux  Hadoop projects development lead
>IBM Senior Software Engineer
>Phone# 512-286-8393
>Fax# 512-838-8858
>
>-----Mohammad Islam <[email protected]> wrote: -----
>To: "[email protected]" <[email protected]>
>From: Mohammad Islam <[email protected]>
>Date: 07/31/2013 03:06AM
>Subject: Re: Oozie 3.3.2 + hadoop 2.0.4-alpha failure
>
>Hi Amir,
>What pom file  changes  have you made?
>
>Regards,
>Mohammad
>
>
>
>
>
>________________________________
> From: Amir Sanjar <[email protected]>
>To: [email protected]
>Sent: Tuesday, July 30, 2013 7:08 PM
>Subject: Oozie 3.3.2 + hadoop 2.0.4-alpha failure
>
>
>
>
>
>
>Hi all ,
>My team is new to Oozie. We have  successfully build Oozie 3.3.2 with
>hadoop 2.0.4-alpha by modifying multiple pom.xml to add hadoop
>2.0.4-alpha.
>We also used command "mvn clean package -Dhadoop.version=2.0.4-alpha" for
>build.
>However multiple unit testcases, as listed below, are failing. Are these
>known issues? Does Oozie 3.3.2 support hadoop 2.x?
>any help would be greatly appreciated..
>
>Running org.apache.oozie.action.hadoop.TestHiveActionExecutor
>Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.861 sec
><<< FAILURE!
>Running org.apache.oozie.command.wf.TestActionCheckXCommand
>Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.282 sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestLauncher
>Tests run: 10, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 60.42 sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestMapReduceActionError
>Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.757 sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestDistCpActionExecutor
>Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.055 sec
><<< FAILURE!
>Running org.apache.oozie.service.TestRecoveryService
>Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 46.539 sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestJavaActionExecutor
>Tests run: 25, Failures: 9, Errors: 0, Skipped: 0, Time elapsed: 156.315
>sec <<< FAILURE!
>Running org.apache.oozie.command.wf.TestActionStartXCommand
>Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 24.878 sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestShellActionExecutor
>Tests run: 6, Failures: 3, Errors: 1, Skipped: 0, Time elapsed: 34.981 sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestMapReduceActionExecutor
>Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 59.235
>sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestRerun
>Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 121.987
>sec
><<< FAILURE!
>Running org.apache.oozie.action.hadoop.TestHiveMain
>Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 37.348 sec
><<< FAILURE!
>
>Results :
>
>Failed tests:   testHiveAction
>(org.apache.oozie.action.hadoop.TestHiveActionExecutor)
>  testActionCheck(org.apache.oozie.command.wf.TestActionCheckXCommand)
>  testOutput(org.apache.oozie.action.hadoop.TestLauncher)
>  testExit0(org.apache.oozie.action.hadoop.TestLauncher)
>  testExit1(org.apache.oozie.action.hadoop.TestLauncher)
>  testEmpty(org.apache.oozie.action.hadoop.TestLauncher)
>  testException(org.apache.oozie.action.hadoop.TestLauncher)
>  testNewId(org.apache.oozie.action.hadoop.TestLauncher)
>  testSecurityManager(org.apache.oozie.action.hadoop.TestLauncher)
>  testDistCpFile(org.apache.oozie.action.hadoop.TestDistCpActionExecutor)
>  testWorkflowActionRecoveryUserRetry
>(org.apache.oozie.service.TestRecoveryService)
>  
>testOutputSubmitOK(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  testRecovery(org.apache.oozie.action.hadoop.TestJavaActionExecutor):
>expected:<...ob_1375223658833_002[0]> but was:<...ob_1375223658833_002[1]>
>  testAdditionalJarSubmitOK
>(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  testSimpestSleSubmitOK
>(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  
>testIdSwapSubmitOK(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  testExit0SubmitOK(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  testExit1SubmitError
>(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  testExceptionSubmitError
>(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  testPrepare(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
>  testActionWithEscapedStringAndCDATA
>(org.apache.oozie.command.wf.TestActionStartXCommand)
>  testActionStart(org.apache.oozie.command.wf.TestActionStartXCommand)
>  testShellScript(org.apache.oozie.action.hadoop.TestShellActionExecutor)
>  testShellScriptError
>(org.apache.oozie.action.hadoop.TestShellActionExecutor)
>  testPerlScript(org.apache.oozie.action.hadoop.TestShellActionExecutor)
>  testSetExecutionStats_when_user_has_specified_stats_write_TRUE
>(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
>  testSetExecutionStats_when_user_has_specified_stats_write_FALSE
>(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
>  
>testMapReduce(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
>  testMapReduceWithCredentials
>(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
>  
>testStreaming(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
>  testSetMapredJobName
>(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
>  testRerun(org.apache.oozie.action.hadoop.TestRerun):
>expected:<SUCCEEDED>
>but was:<KILLED>
>  testMain(org.apache.oozie.action.hadoop.TestHiveMain)
>
>Tests in error:
>  testMapReduce(org.apache.oozie.action.hadoop.TestMapReduceActionError)
>  testEnvVar(org.apache.oozie.action.hadoop.TestShellActionExecutor): str
>cannot be null
>
>Tests run: 929, Failures: 33, Errors: 2, Skipped: 0
>
>
>Best Regards
>Amir Sanjar
>
>
>PowerLinux Open Source Hadoop development lead
>IBM Senior Software Engineer
>Phone# 512-286-8393
>Fax# 512-838-8858

Reply via email to