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

Robert Kanter commented on OOZIE-1320:
--------------------------------------

Test failure is unrelated
                
> Tests for sharelib actions fail with ClassNotFoundException against Hadoop 2
> ----------------------------------------------------------------------------
>
>                 Key: OOZIE-1320
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1320
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: trunk
>
>         Attachments: OOZIE-1320.patch
>
>
> The changes done to the sharelib actions in OOZIE-1311 have caused their 
> tests to throw {{ClassNotFoundException}} on the Main class (e.g. 
> {{TestSqoopActionExecutor}} throws {{ClassNotFoundException}} on 
> {{SqoopMain}}) when run against Hadoop 2.  This issue only affects the tests, 
> not an actual deployment.  
> Before OOZIE-1311, the Main classes were in the launcher jar.  Now that they 
> are not, in Hadoop 1, they get picked up by simply being in the classpath.  
> In Hadoop 2, this doesn't work because its classpath by default only contains 
> JARs.  We need to modify the classpath to have the Main class to fix this.  
> Note that even with a fix, many of the actions will still fail for other 
> reasons because they were not compiled against Hadoop 2.  (Though it should 
> work if you have the proper JARs).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to