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

Andras Salamon commented on OOZIE-3450:
---------------------------------------

I tried to run the git example, but it fails with the following error:

{noformat}java.lang.NoClassDefFoundError: 
org/apache/oozie/action/hadoop/GitActionExecutor$ActionConfVerifier
        at 
org.apache.oozie.action.hadoop.GitMain.parseActionConfiguration(GitMain.java:181)
        at org.apache.oozie.action.hadoop.GitMain.run(GitMain.java:63)
        at 
org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:107)
        at org.apache.oozie.action.hadoop.GitMain.main(GitMain.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.oozie.action.hadoop.LauncherAM.runActionMain(LauncherAM.java:413)
        at 
org.apache.oozie.action.hadoop.LauncherAM.access$400(LauncherAM.java:55)
        at org.apache.oozie.action.hadoop.LauncherAM$2.run(LauncherAM.java:226)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:220)
        at org.apache.oozie.action.hadoop.LauncherAM$1.run(LauncherAM.java:156)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at org.apache.oozie.action.hadoop.LauncherAM.main(LauncherAM.java:144)
Caused by: java.lang.ClassNotFoundException: 
org.apache.oozie.action.hadoop.GitActionExecutor$ActionConfVerifier
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 20 more
{noformat}

I think we need the oozie-core jar on the sharelib. Or maybe it would be 
possible to refactor the code and avoid referring to 
{{GitActionExecutor$ActionConfVerifier}}.

> Investigate and clean git sharelib
> ----------------------------------
>
>                 Key: OOZIE-3450
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3450
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Andras Salamon
>            Assignee: Mate Juhasz
>            Priority: Major
>         Attachments: OOZIE-3540-v1.patch
>
>
> I've checked the number of jars in the Oozie sharelibs and realized that git 
> sharelib contains the highest number of jars (203), it's much more than the 
> hive (85), pig (67). Not to mention that we have really small sharelibs like 
> distcp (3).
> I don't really understand the reason for this, we need to check if we really 
> need all the jars here. The huge number of jars make it slower and it's more 
> likely that we get strange errors because of jar conflicts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to