Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
v1.3.0, v1.5.0
-
None
Description
in bin/find-hive-dependency.sh, if configured hive client is beeline, it will use beeline to execute "set" and then to find the classpath; I noticed the result doesn't have "hive-cli.jar", this will cause error in "load hive table" action, a NoClassDefFoundError error is thrown;
If "hive -e set" will return all the needed hive jars.
SEVERE: Servlet.service() for servlet [kylin] in context with path [/kylin] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/hadoop/hive/cli/CliSessionState] with root cause java.lang.ClassNotFoundException: org.apache.hadoop.hive.cli.CliSessionState at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at org.apache.kylin.rest.controller.TableController.showHiveDatabases(TableController.java:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)