This kind of error is highly env related. Google "Kylin
NoClassDefFoundError" and you will find a few previous discussions.

The key point is "bin/find-hive-dependency.sh" must report correct hive
classpath.


Yang

On Tue, Jul 5, 2016 at 10:28 PM, Niasari, Mehrdad <[email protected]>
wrote:

> Hi there,
>
> I can successfully run Kylin’s sample cube on my local machine(HDP
> sandbox) but when I try to run it on cluster I get this error in step 
> 2(Extract
> Fact Table Distinct Columns):
>
> java.lang.NoClassDefFoundError:
> org/apache/hadoop/hive/serde2/typeinfo/TypeInfo
>         at
> org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob(HiveMRInput.java:81)
>         at
> org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:111)
>         at
> org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:91)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at
> org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:118)
>         at
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:114)
>         at
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:50)
>         at
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:114)
>         at
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:124)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>
> I am using beeline and hiveserver2 if they make difference to the issue.
>
> Any help to get rid of this error would be appreciated.
>
> Thanks,
> Mehrdad
>
>
>
>
>
> _______________________________________________________________________
>
> If you received this email in error, please advise the sender (by return
> email or otherwise) immediately. You have consented to receive the attached
> electronically at the above-noted email address; please retain a copy of
> this confirmation for future reference.
>
> Si vous recevez ce courriel par erreur, veuillez en aviser l'expéditeur
> immédiatement, par retour de courriel ou par un autre moyen. Vous avez
> accepté de recevoir le(s) document(s) ci-joint(s) par voie électronique à
> l'adresse courriel indiquée ci-dessus; veuillez conserver une copie de
> cette confirmation pour les fins de reference future.
>
>

Reply via email to