You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org> on 2012/05/11 02:05:56 UTC

[jira] [Commented] (OOZIE-834) Testcases for MapReduceMain, StreamingMain, PigMain, HiveMain fail with Hadoop 2

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

jiraposter@reviews.apache.org commented on OOZIE-834:
-----------------------------------------------------


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

Review request for oozie.


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

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