Hi Lei, Which AWS region are you using? I tested that in the Seoul, wondering whethere that is the version/location difference.
2017-05-15 9:32 GMT+08:00 张磊 <[email protected]>: > @史少锋 > Hi shaofeng > I install kylin 2.0 in EMR5.5.0 follow the 【技术贴】使用Apache Kylin和AWS > EMR进行云上大数据OLAP分析 > But also found this error, why? > > > 2017-05-14 18:23:57,597 ERROR [pool-9-thread-2] > threadpool.DefaultScheduler:146 : ExecuteException > job:5559cf6c-6942-4df2-8700-6aa73a8765dd > org.apache.kylin.job.exception.ExecuteException: > org.apache.kylin.job.exception.ExecuteException: > java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/ > session/SessionState > at org.apache.kylin.job.execution.AbstractExecutable. > execute(AbstractExecutable.java:134) > at org.apache.kylin.job.impl.threadpool.DefaultScheduler$ > JobRunner.run(DefaultScheduler.java:142) > at java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.kylin.job.exception.ExecuteException: > java.lang.NoClassDefFoundError: > org/apache/hadoop/hive/ql/session/SessionState > at org.apache.kylin.job.execution.AbstractExecutable. > execute(AbstractExecutable.java:134) > at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork( > DefaultChainedExecutable.java:64) > at org.apache.kylin.job.execution.AbstractExecutable. > execute(AbstractExecutable.java:124) > ... 4 more > Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/ > session/SessionState > at org.apache.kylin.source.hive.HiveClientFactory.getHiveClient( > HiveClientFactory.java:26) > at org.apache.kylin.source.hive.HiveMRInput$ > RedistributeFlatHiveTableStep.computeRowCount(HiveMRInput.java:256) > at org.apache.kylin.source.hive.HiveMRInput$ > RedistributeFlatHiveTableStep.doWork(HiveMRInput.java:300) > at org.apache.kylin.job.execution.AbstractExecutable. > execute(AbstractExecutable.java:124) > ... 6 more > Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.ql. > session.SessionState > at org.apache.catalina.loader.WebappClassLoaderBase.loadClass( > WebappClassLoaderBase.java:1858) > at org.apache.catalina.loader.WebappClassLoaderBase.loadClass( > WebappClassLoaderBase.java:1701) > ... 10 more -- Best regards, Shaofeng Shi 史少锋
