Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4936 Umbrella for release 0.9.0 preview2
  3. ZEPPELIN-4945

Hive JDBC interpreter in Zeppelin 0.9.0-preview1 is not working

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.0
    • None
    • None
    • Important

    Description

      Hi Zeppelin Team, 

      I have upgraded zeppelin from 0.8.0 to 0.9.0. While setting up JDBC interpreter to access Hive databases, I have stumbled upon the error described below. 

      I created a JDBC Hive intrepreter in Zeppelin GUI and ran a query for a try. It's giving the following error. The same configurations that had worked for Zeppelin 0.8 doesn't bode well with 0.9, and the initialization of said org.apache.hadoop.security.UserGroupInformation wasn't successful. Could the team please check what went wrong 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)

      Attachments

        1. Screen Shot 2020-07-09 at 15.58.38.png
          199 kB
          Chang Yong Lik
        2. Screen Shot 2020-07-09 at 15.57.42.png
          456 kB
          Chang Yong Lik
        3. image-2020-07-13-10-29-18-126.png
          48 kB
          Jeff Zhang
        4. Screen Shot 2020-07-13 at 11.16.48.png
          75 kB
          Chang Yong Lik
        5. Screen Shot 2020-07-13 at 11.16.48.png
          75 kB
          Chang Yong Lik

        Activity

          People

            zjffdu Jeff Zhang
            ychang Chang Yong Lik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: