[
https://issues.apache.org/jira/browse/KYLIN-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shaofeng SHI closed KYLIN-1797.
-------------------------------
Resolution: Not A Problem
> bin/find-hive-dependency.sh may not get correct local classpath when
> configured hive client is beeline
> ------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-1797
> URL: https://issues.apache.org/jira/browse/KYLIN-1797
> Project: Kylin
> Issue Type: Bug
> Components: Client - CLI
> Affects Versions: v1.3.0, v1.5.0
> Reporter: Shaofeng SHI
> Priority: Major
> Labels: newbie
>
> 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.
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)