You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/04/21 02:31:04 UTC

[jira] [Commented] (KYLIN-2511) java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo

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

Shaofeng SHI commented on KYLIN-2511:
-------------------------------------

You can clone Kylin's source code (branch or tag for CDH 5.7), upgrade the version from 5.7 to 5.8 in pom.xml and then run "build/script/package.sh" to make a new binary package, which will be compiled against the new APIs.  Please let us know whether it can solve this issue.

> java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo
> -------------------------------------------------------------------------------
>
>                 Key: KYLIN-2511
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2511
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: LIUCUN
>
> When I use the apache-kylin-1.6.0-cdh5.7-bin.tar.gz + CDH5.8 to build the sample cube , will cause the ERROR at Extract Fact Table Distinct Columns step , the ERROR info as belows:
> 2017-03-16 11:21:18,357 ERROR [pool-9-thread-6] threadpool.DefaultScheduler:140 : ExecuteException job:02941fbe-6f3a-4a2c-bb99-4bb61b388f80
> org.apache.kylin.job.exception.ExecuteException: org.apache.kylin.job.exception.ExecuteException: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:123)
> 	at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:136)
> 	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/serde2/typeinfo/TypeInfo
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:123)
> 	at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:57)
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:113)
> 	... 4 more
> Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo
> 	at org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob(HiveMRInput.java:105)
> 	at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:119)
> 	at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:103)
> 	at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:92)
> 	at org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:113)
> 	... 6 more
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.serde2.typeinfo.TypeInfo
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 12 more



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)