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

[email protected] commented on OOZIE-834:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5090/
-----------------------------------------------------------

(Updated 2012-05-11 16:07:07.900173)


Review request for oozie.


Changes
-------

adding fix for TestPipesMain which I've missed before


Summary
-------

Hadoop 2 changed it's minicluster to use random ports recently.

The testcases for the MR/Streaming/Pig/Hive Main classes are not being 
configured correctly with the minicluster configuration thus are taking 
incorrect ports and fail.


This addresses bug OOZIE-834.
    https://issues.apache.org/jira/browse/OOZIE-834


Diffs (updated)
-----

  trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveMain.java 
1336960 
  
trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestMapReduceMain.java 
1336960 
  trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPigMain.java 
1336960 
  trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestPipesMain.java 
1336960 
  
trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestStreamingMain.java 
1336960 
  trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java 1336960 

Diff: https://reviews.apache.org/r/5090/diff


Testing
-------

run successfully the affected tests with Hadoop 1 and Hadoop 2 (except for the 
TestPigMain & TestHiveMain because there are not JARs for hadoop 2 avail in 
maven repo)


Thanks,

Alejandro


                
> Testcases for MapReduceMain, StreamingMain, PigMain, HiveMain fail with 
> Hadoop 2
> --------------------------------------------------------------------------------
>
>                 Key: OOZIE-834
>                 URL: https://issues.apache.org/jira/browse/OOZIE-834
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: trunk
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: trunk
>
>
> Hadoop 2 changed it's minicluster to use random ports recently.
> The testcases for the MR/Streaming/Pig/Hive Main classes are not being 
> configured correctly with the minicluster configuration thus are taking 
> incorrect ports and fail.
> This is seen on top of OOZIE-831.

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