You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ricardo Jorge de Sousa Teixeira (JIRA)" <ji...@apache.org> on 2016/11/02 21:14:58 UTC

[jira] [Commented] (KYLIN-1797) bin/find-hive-dependency.sh may not get correct local classpath when configured hive client is beeline

    [ https://issues.apache.org/jira/browse/KYLIN-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630554#comment-15630554 ] 

Ricardo Jorge de Sousa Teixeira commented on KYLIN-1797:
--------------------------------------------------------

Was this fix in anyway? I'm having the same 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.5.0, v1.3.0
>            Reporter: Shaofeng SHI
>              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
(v6.3.4#6332)