Please check the classpath carefully, maybe some other Hive lib has higher priority than the right "hive-exec-1.2.1.jar"
2017-01-06 17:34 GMT+08:00 vinky <[email protected]>: > hello, I can access from Hive console and do queries on it sucecssfully > using hive console. When I try to synch hive table using Kylin web > specifiying the hive table name and synch. I get an error dialog "Oops > Failed to take action" . error in localhost.2017-01-06.log Jan 06, 2017 > 1:13:12 AM org.apache.catalina.core.ApplicationContext log INFO: > Initializing Spring FrameworkServlet 'kylin' Jan 06, 2017 1:15:01 AM > org.apache.catalina.core.StandardWrapperValve invoke 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/ql/session/SessionState] with root cause > java.lang.ClassNotFoundException: > org.apache.hadoop.hive.ql.session.SessionState at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) > at org.apache.kylin.metadata.tool.HiveSourceTableLoader. > extractHiveTables(HiveSourceTableLoader.java:88) at > org.apache.kylin.metadata.tool.HiveSourceTableLoader.reloadHiveTables(HiveSourceTableLoader.java:75) > at > org.apache.kylin.rest.service.CubeService.reloadHiveTable(CubeService.java:514) > and I'm sure this class in hive-exec-1.2.1.jar can be find in > find-hive-dependency.sh no error in kylin.log my > soft version : hadoop-2.7.3+hbase-0.96.2-hadoop2+hive-1.2.1+kylin-1.2 > hadoop, hive, hbase works well alonecan someone help me ? I'm complete > breakdown by this issue
