according to this mail thread, hive 0.13 should also work. http://mail-archives.apache.org/mod_mbox/kylin-dev/201506.mbox/%3CCAHRce1OdsXZtew=0fR2riXDxmya3hPrLFHB6WjVUH=cfqig...@mail.gmail.com%3E
@shaofeng can you help check this? On Wed, Jul 29, 2015 at 9:40 AM, hongbin ma <[email protected]> wrote: > In Kylin 0.7 or above, we hive 0.14 at minimal > > On Tue, Jul 28, 2015 at 7:26 PM, Dayue Gao <[email protected]> wrote: > >> Seems like your hive is compiled against hadoop-1 instead of hadoop-2. >> Have you add the "-P hadoop-2" when you compiled hive? >> >> Best Regards, >> Dayue >> >> >> > 在 2015年7月28日,下午6:18,李刚 <[email protected]> 写道: >> > >> > 报这个错误是为啥? >> > >> > [pool-5-thread-2]:[2015-07-28 >> 02:46:08,620][ERROR][org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:108)] >> - error running Executable >> > java.lang.IncompatibleClassChangeError: Found interface >> org.apache.hadoop.mapreduce.JobContext, but class was expected >> > at >> org.apache.hive.hcatalog.mapreduce.HCatBaseInputFormat.getSplits(HCatBaseInputFormat.java:102) >> > at >> org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:491) >> > at >> org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:508) >> > at >> org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:392) >> > at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268) >> > at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265) >> > at java.security.AccessController.doPrivileged(Native Method) >> > at javax.security.auth.Subject.doAs(Subject.java:415) >> > at >> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491) >> > at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265) >> > at >> org.apache.kylin.job.hadoop.AbstractHadoopJob.waitForCompletion(AbstractHadoopJob.java:123) >> > at >> org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:80) >> > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) >> > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) >> > at >> org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:112) >> > at >> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:106) >> > at >> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:50) >> > at >> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:106) >> > at >> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:133) >> > at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> > at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> > at java.lang.Thread.run(Thread.java:745) >> > >> > ============================================== >> > 这是我选的版本号: >> > -rw-r--r--. 1 root root 54246778 Jul 23 20:18 >> apache-hive-0.13.1-bin.tar.gz >> > -rw-r--r--. 1 root root 8850470 Jul 25 18:17 >> apache-tomcat-7.0.63.tar.gz >> > -rw-r--r--. 1 root root 203705290 Jul 22 02:19 hadoop-2.4.0-64bit.tar.gz >> > -rw-r--r--. 1 root root 80700853 Jul 24 02:06 >> hbase-0.98.4-hadoop2-bin.tar.gz >> > -rw-r--r--. 1 root root 64699193 Jul 25 16:13 >> kylin-0.7.2-incubating.tar.gz >> > -rw-r--r--. 1 root root 17699306 Jul 24 03:40 zookeeper-3.4.6.tar.gz >> > >> > 是版本不兼容吗? >> >> >> > > > -- > Regards, > > *Bin Mahone | 马洪宾* > Apache Kylin: http://kylin.io > Github: https://github.com/binmahone > -- Regards, *Bin Mahone | 马洪宾* Apache Kylin: http://kylin.io Github: https://github.com/binmahone
