falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FALCON-2065) Falcon CLI failing with missing KerberosAuthenticator class
Date Thu, 14 Jul 2016 16:01:20 GMT

     [ https://issues.apache.org/jira/browse/FALCON-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Balu Vellanki resolved FALCON-2065.
-----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.10)

Issue resolved by pull request 218
[https://github.com/apache/falcon/pull/218]

> Falcon CLI failing with missing KerberosAuthenticator class
> -----------------------------------------------------------
>
>                 Key: FALCON-2065
>                 URL: https://issues.apache.org/jira/browse/FALCON-2065
>             Project: Falcon
>          Issue Type: Bug
>          Components: client
>    Affects Versions: trunk
>            Reporter: Murali Ramasami
>            Assignee: Peeyush Bishnoi
>            Priority: Blocker
>             Fix For: trunk
>
>
> Falcon CLI commands are failing with the following error: 
> For example : when we issue "falcon admin -version"
> {noformat}
> [hrt_qa@nat-r7-afqu-falcon-multi-14 ~]$ falcon admin -version
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/security/authentication/client/KerberosAuthenticator
> 	at org.apache.falcon.client.FalconClient.<clinit>(FalconClient.java:128)
> 	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:119)
> 	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:66)
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.security.authentication.client.KerberosAuthenticator
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	... 3 more
> {noformat}
> After copying the hadoop-auth.jar it works. 
> {noformat}
> [hrt_qa@nat-r7-afqu-falcon-multi-14 ~]$ falcon admin -version
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/security/authentication/client/KerberosAuthenticator
> 	at org.apache.falcon.client.FalconClient.<clinit>(FalconClient.java:128)
> 	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:119)
> 	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:66)
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.security.authentication.client.KerberosAuthenticator
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	... 3 more
> [hrt_qa@nat-r7-afqu-falcon-multi-14 ~]$ exit
> logout
> [root@nat-r7-afqu-falcon-multi-14 ~]# cp /usr/hdp/2.5.0.0-911/hadoop//hadoop-auth-2.7.1.2.5.0.0-911.jar
/usr/hdp/2.5.0.0-911/falcon/client/lib/
> [root@nat-r7-afqu-falcon-multi-14 ~]# cd /usr/hdp/2.5.0.0-911/falcon/client/lib/hadoop-auth-2.7.1.2.5.0.0-911.jar
> -bash: cd: /usr/hdp/2.5.0.0-911/falcon/client/lib/hadoop-auth-2.7.1.2.5.0.0-911.jar:
Not a directory
> [root@nat-r7-afqu-falcon-multi-14 ~]# su - hrt_qa
> Last login: Fri Jul  8 10:55:53 UTC 2016 on pts/0
> [hrt_qa@nat-r7-afqu-falcon-multi-14 ~]$ falcon admin -version
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/grid/0/hdp/2.5.0.0-911/falcon/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/grid/0/hdp/2.5.0.0-911/falcon/client/lib/falcon-cli-0.10.0.2.5.0.0-911.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> Falcon server build version: {"properties":[{"key":"Version","value":"0.10.0.2.5.0.0-911-rbe02edf0d5b10af27bbac694e536bef30885c00e"},{"key":"Mode","value":"embedded"},{"key":"Hadoop","value":"2.7.1.2.5.0.0-911-r841079dcd9dd44ec927b07cb0b1d2fc390c80c4d"},{"key":"authentication","value":"simple"},{"key":"safemode","value":"false"}]}
> {noformat}



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

Mime
View raw message