[ 
https://issues.apache.org/jira/browse/OOZIE-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215792#comment-13215792
 ] 

Mona Chitnis commented on OOZIE-714:
------------------------------------

For 3.1.4, the tests can pass by making the corresponding changes
1. adding mapreduce.framework.name=yarn to the job conf
2. running the tests against the pig-0.9.2 jar copied manually from the 
lib-hadoop23 subdirectory. Suggestions on how to mavenize this?

The PigAE test is also failing on trunk with the following surefire-report

Test set: org.apache.oozie.action.hadoop.TestPigActionExecutor
  3 
-------------------------------------------------------------------------------
  4 Tests run: 9, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 152.759 sec 
<<< FAILURE!
  5 testExecutionStats(org.apache.oozie.action.hadoop.TestPigActionExecutor)  
Time elapsed: 25.457 sec  <<< FAILURE!
  6 junit.framework.AssertionFailedError
  7         at junit.framework.Assert.fail(Assert.java:47)
  8         at junit.framework.Assert.assertTrue(Assert.java:20)
  9         at junit.framework.Assert.assertTrue(Assert.java:27)
 10         at 
org.apache.oozie.action.hadoop.TestPigActionExecutor.testExecutionStats(TestPigActionExecutor.java:230)
 11
 12 testExternalChildIds(org.apache.oozie.action.hadoop.TestPigActionExecutor)  
Time elapsed: 19.045 sec  <<< FAILURE!
 13 junit.framework.ComparisonFailure: expected:<SUCCEED...> but 
was:<FAILED/KILL...>
 14         at junit.framework.Assert.assertEquals(Assert.java:81)
 15         at junit.framework.Assert.assertEquals(Assert.java:87)
 16         at 
org.apache.oozie.action.hadoop.TestPigActionExecutor.testExternalChildIds(TestPigActionExecutor.java:271)
 17
 18 
testExecutionStatsWithRetrieveStatsFalse(org.apache.oozie.action.hadoop.TestPigActionExecutor)
  Time elapsed: 17.848 sec  <<< FAILURE!
 19 junit.framework.ComparisonFailure: expected:<SUCCEED...> but 
was:<FAILED/KILL...>
 20         at junit.framework.Assert.assertEquals(Assert.java:81)
 21         at junit.framework.Assert.assertEquals(Assert.java:87)
 22         at 
org.apache.oozie.action.hadoop.TestPigActionExecutor.testExecutionStatsWithRetrieveStatsFalse(TestPigActionExecutor.java:323)
 23
 24 testPig(org.apache.oozie.action.hadoop.TestPigActionExecutor)  Time 
elapsed: 21.063 sec  <<< FAILURE!
 25 junit.framework.AssertionFailedError
 26         at junit.framework.Assert.fail(Assert.java:47)
 27         at junit.framework.Assert.assertTrue(Assert.java:20)
 28         at junit.framework.Assert.assertTrue(Assert.java:27)
 29         at 
org.apache.oozie.action.hadoop.TestPigActionExecutor._testSubmit(TestPigActionExecutor.java:196)
 30         at 
org.apache.oozie.action.hadoop.TestPigActionExecutor.testPig(TestPigActionExecutor.java:347)
 31
 32 testUdfPig(org.apache.oozie.action.hadoop.TestPigActionExecutor)  Time 
elapsed: 18.146 sec  <<< FAILURE!
 33 junit.framework.AssertionFailedError
 34         at junit.framework.Assert.fail(Assert.java:47)
 35         at junit.framework.Assert.assertTrue(Assert.java:20)
 36         at junit.framework.Assert.assertTrue(Assert.java:27)
 37         at 
org.apache.oozie.action.hadoop.TestPigActionExecutor._testSubmit(TestPigActionExecutor.java:196)
 38         at 
org.apache.oozie.action.hadoop.TestPigActionExecutor.testUdfPig(TestPigActionExecutor.java:415)

                
> Fix Pig testcases to use Hadoop 0.23.X
> --------------------------------------
>
>                 Key: OOZIE-714
>                 URL: https://issues.apache.org/jira/browse/OOZIE-714
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Mona Chitnis
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Oozie testcases TestPigActionExecutor and TestPigMain are failing due to 
> 1. the error "check value for mapreduce.framework.name", which is to be set 
> to "yarn" in the conf.
> 2. pig jar pulled from the online repositories is not the correct one 
> required against hadoop 23
> Oozie version 3.1.4

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