region??us-west-1 version??EMR 5.5.0 Hadoop??Amazon 2.7.3 Application??Hive 2.1.1, Tez 0.8.4, HBase 1.3.0, ZooKeeper 3.4.10, Spark 2.1.0, HCatalog 2.1.1
------------------ ???????? ------------------ ??????: "ShaoFeng Shi";<[email protected]>; ????????: 2017??5??15??(??????) ????9:39 ??????: "dev"<[email protected]>; ????: Re: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/session/SessionState 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 ??????
