[
https://issues.apache.org/jira/browse/OOZIE-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294495#comment-14294495
]
Purshotam Shah commented on OOZIE-2113:
---------------------------------------
Not sure that if i have understand your Q properly.
{quote}
Does anyone use the oozie-client tar thats bundled in the oozie package?
Earlier, we were bundling default hadoop-auth jar in the oozie-client tar which
may or may not work with the hadoop server(depending on compatibility).
So, should we skip bundling hadoop-auth and let the user add the required
version in the libext for oozie-client package(just like for server) or
should we add the default version for backward compatibility?
{quote}
We use oozie-client which is part of oozie package, with minor modification (
mainly to support few in-built authentication).
hadoop-auth-version is configurable, we override it while building oozie (
-Dhadoop.auth.version=0.23.3 ).
> 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)