Chang Yong Lik created ZEPPELIN-4945: ----------------------------------------
Summary: Hive JDBC interpreter in Zeppelin 0.9.0-preview1 is not working Key: ZEPPELIN-4945 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4945 Project: Zeppelin Issue Type: Bug Components: JdbcInterpreter, zeppelin-interpreter Affects Versions: 0.9.0 Environment: jar files added {code:java} hadoop-auth.jar hadoop-common.jar commons-collections-3.2.2.jar hive-common.jar hive-jdbc.jar hive-metastore.jar hive-service.jar hive-shims-common.jar guava-14.0.1.jar hive-shims-0.23-2.0.0.2.3.5.3-2.jar {code} interpreter environment variables set as in the uploaded screenshots. Reporter: Chang Yong Lik Attachments: Screen Shot 2020-07-09 at 15.57.42.png, Screen Shot 2020-07-09 at 15.58.38.png Hi Zeppelin Team, I have upgraded zeppelin from 0.8.0 to 0.9.0. While setting up JDBC interpreter to access Hive databases and I am getting this error. I created JDBC.hive intrepreter in zeppelin GUI and ran a query. its giving the following error. The same configurations I had worked for Zeppelin 0.8 but when I upgraded it to 0.9, the initialization of said org.apache.hadoop.security.UserGroupInformation wasn't successful. Could the team please check because the official document of the Hive JDBC interpreter setup is not accurate enough and it might affect other users as well. Thank you! :) Error Log java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.security.UserGroupInformation at org.apache.zeppelin.jdbc.security.JDBCSecurityImpl.createSecureConfiguration(JDBCSecurityImpl.java:48) at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:487) at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:672) at org.apache.zeppelin.jdbc.JDBCInterpreter.internalInterpret(JDBCInterpreter.java:841) at org.apache.zeppelin.interpreter.AbstractInterpreter.interpret(AbstractInterpreter.java:47) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:110) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:776) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:668) at org.apache.zeppelin.scheduler.Job.run(Job.java:172) at org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:130) at org.apache.zeppelin.scheduler.ParallelScheduler.lambda$runJobInScheduler$0(ParallelScheduler.java:39) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) -- This message was sent by Atlassian Jira (v8.3.4#803005)