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

Robert Kanter commented on OOZIE-2113:
--------------------------------------

The safest thing is to use the same version as the hadoop server.  In practice, 
I've been able to mix versions without problems, but you always run the risk 
that it won't work or some behavior was changed (though hadoop-auth tends not 
to change too much).  The other complication is that Hadoop 1 doesn't have a 
separate hadoop-auth package, it's in hadoop-core IIRC; which is why we had 
been using 2.0.2-alpha for hadoop-auth with Hadoop 1 before.

> Oozie Command Line Utilities are failing as hadoop-auth jar not found
> ---------------------------------------------------------------------
>
>                 Key: OOZIE-2113
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2113
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: pavan kumar kolamuri
>            Assignee: pavan kumar kolamuri
>         Attachments: OOZIE-2113.patch
>
>
> Oozie Command Line options are failing since hadoop auth jar is missing in 
> oozie class path . Exception while running examples
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/hadoop/security/authentication/client/AuthenticationException
>       at org.apache.oozie.cli.OozieCLI.createXOozieClient(OozieCLI.java:858)
>       at org.apache.oozie.cli.OozieCLI.jobCommand(OozieCLI.java:901)
>       at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:620)
>       at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:573)
>       at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:208)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.security.authentication.client.AuthenticationException
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>       ... 5 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to