Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Contributor

Error:

ERROR [2016-12-13 00:48:04,166] ({pool-2-thread-2} Job.java[run]:189) - Job failed
java.lang.NoClassDefFoundError: org/apache/hadoop/security/UserGroupInformation$AuthenticationMethod 
at org.apache.zeppelin.jdbc.security.JDBCSecurityImpl.getAuthtype(JDBCSecurityImpl.java:66)
....
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.security.UserGroupInformation$AuthenticationMethod
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 15 more
 

Solution:

For systems in hdp cluster with no internet access local-repo folder doesnt get created when running zeppelin interpreters which hold the jar files needed for the interpreters.

To circumvent this we would need to copy the following jars to a temporary location and then specify these in the interpreter setting from zeppelin UI

create and copy all required jars to following "/usr/hdp/current/zeppelin-server/jarss/" /usr/hdp/current/zeppelin-server/jarss/hive-jdbc-2.0.1-standalone.jar   /usr/hdp/current/zeppelin-server/jarss/hadoop-common-2.7.3.2.5.0.0-1245.jar   /usr/hdp/current/zeppelin-server/jarss/hive-shims-0.23-2.1.0.2.5.0.0-1245.jar   /usr/hdp/current/zeppelin-server/jarss/commons-configuration-1.10.jar   /usr/hdp/current/zeppelin-server/jarss/hadoop-auth-2.7.3.2.5.0.0-1245.jar   /usr/hdp/current/zeppelin-server/jarss/curator-client-2.7.1.jar   /usr/hdp/current/zeppelin-server/jarss/curator-framework-2.7.1.jar   /usr/hdp/current/zeppelin-server/jarss/zookeeper-3.4.6.2.5.0.0-1245.jar   /usr/hdp/current/zeppelin-server/jarss/commons-lang3-3.3.2.jar

Specify the complete path to the jar under Zeppelin UI --> Interpreter --> Jdbc

10966-screen-shot-2016-12-31-at-23211-pm.png

3,685 Views
Comments

/usr/hdp/current/zeppelin-server/jarss/ is the temporary location these jars are copied to? Then this path needs to be specified in Zeppelin UI --> Interpreter --> Jdbc --> zeppelin.interpreter.localRepo?

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
2 of 2
Last update:
‎08-17-2019 06:20 AM
Updated by:
 
Contributors
Top Kudoed Authors