Hi. Can you try to copy the hive-site.xml to ZEPPELIN_HOME/conf/ and set default.url like "jdbc:hive2://hive_server_ip:9083" on the HIVE interpreter?
2016-04-29 19:18 GMT+09:00 Tao Li(Internship) <tao...@envisioncn.com>: > Hi, > > The zeppelin server has been properly started, then I want to connect > hive. I set default.url thrift: //hive_server_ip: 9083, and restart the > hive interpreter. Then I run the command: %hive show databases and an error > occurred. The follow is zeppelin-interpreter-hive-hadoop-ip-10-21-14-62.log: > INFO [2016-04-29 18:10:17,844] ({pool-2-thread-2} > HiveInterpreter.java[interpret]:326) - PropertyKey: default, SQL command: > 'show databases;' > ERROR [2016-04-29 18:10:17,845] ({pool-2-thread-2} > HiveInterpreter.java[executeSql]:294) - Cannot run show databases; > java.lang.ClassNotFoundException: > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:191) > at > org.apache.zeppelin.hive.HiveInterpreter.getConnection(HiveInterpreter.java:184) > at > org.apache.zeppelin.hive.HiveInterpreter.getStatement(HiveInterpreter.java:204) > at > org.apache.zeppelin.hive.HiveInterpreter.executeSql(HiveInterpreter.java:233) > at > org.apache.zeppelin.hive.HiveInterpreter.interpret(HiveInterpreter.java:328) > at > org.apache.zeppelin.interpreter.ClassloaderInterpreter.interpret(ClassloaderInterpreter.java:57) > at > org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93) > at > org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:300) > at org.apache.zeppelin.scheduler.Job.run(Job.java:169) > at > org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:157) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > Is there anything I missed? > > > Best regards, > > > > Tao Li > > > > > ???(????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????,????????????????????? > This email message (including any attachments) is confidential and may be > legally privileged. If you have received it by mistake, please notify the > sender by return email and delete this message from your system. Any > unauthorized use or dissemination of this message in whole or in part is > strictly prohibited. Envision Energy Limited and all its subsidiaries shall > not be liable for the improper or incomplete transmission of the > information contained in this email nor for any delay in its receipt or > damage to your system. Envision Energy Limited does not guarantee the > integrity of this email message, nor that this email message is free of > viruses, interceptions, or interference. >