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

Bowen Zhang edited comment on OOZIE-2113 at 1/22/15 6:51 AM:
-------------------------------------------------------------

I hit the same problem days ago. This is because the previous change made by 
[~shwethags] is not backward-compatible. Before, {noformat}mvn clean 
-DskipTests package assembly:single{noformat} will do the job. Right now, you 
need to specify the uber option and hadoop version like this if you are using 
hadoop-2.3 in this case. {noformat}mvn clean -DskipTests -Puber -Phadoop-2 
package assembly:single{noformat} We need to be really careful when we checked 
in these features that break backward compatibility. Previously, [~puru]'s 
sharelib service is also not backward compatible. For users, these changes can 
cause total busting of Oozie.


was (Author: bowenzhangusa):
I hit the same problem days ago. This is because the previous change made by 
[~shwethags] is not backward-compatible. Before, {noformat}mvn clean 
-DskipTests package assembly:single{noformat} will do the job. Right now, you 
need to specify the uber option and hadoop version like this {noformat}mvn 
clean -DskipTests -Puber -Phadoop-2 package assembly:single{noformat} We need 
to be really careful when we checked in these features that break backward 
compatibility. Previously, [~puru]'s sharelib service is also not backward 
compatible. For users, these changes can cause total busting of Oozie.

> 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