You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by 张磊 <12...@qq.com> on 2016/10/18 03:14:35 UTC

回复: some question about kylin

hi
in model menu, there are some tables; but in insight menu,there is no tables, the file of kylin.log do not contain errors, why?




------------------ 原始邮件 ------------------
发件人: "ShaoFeng Shi";<sh...@apache.org>;
发送时间: 2016年10月17日(星期一) 晚上10:00
收件人: "dev"<de...@kylin.apache.org>; 

主题: Re: some question about kylin



Hi,

Usually this is caused that HBase's script didn't inheritate the
"HBASE_CLASSPATH" environment varaible (Kylin depends on it to attache Hive
jars to classpath).

Go to the HBase installation path, and then grep "HBASE_CLASSPATH" in the
`hbase` shell file, you should find something like:

export
HBASE_CLASSPATH=$HADOOP_CONF:$HADOOP_HOME/*:$HADOOP_HOME/lib/*:$ZOOKEEPER_HOME/*:$ZOOKEEPER_HOME/lib/*:$HBASE_CLASSPATH

Above is a good sample, as it will keep the original value of
$HBASE_CLASSPATH; But in some distribution like EMR 5.0, it just set the
HBASE_CLASSPATH value instead of appending, then it will cause the hive jar
not on Kylin's classpath. You need manually correct that.

I will add this to FAQ page.


2016-10-17 17:03 GMT+08:00 张磊 <12...@qq.com>:

> I install kylin(apache-kylin-1.5.4.1-hbase1.x-bin) in EMR5.0.0, while i
> operate on web, there is some error, i do not install hcatalog in emr. How
> can i resolve this question? Thanks!
>
> java.lang.NoClassDefFoundError: org/apache/hive/hcatalog/mapreduce/HCatInputFormat
>     at org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.
> configureJob(HiveMRInput.java:89)      at org.apache.kylin.engine.mr.
> steps.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:123)
>        at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.
> run(FactDistinctColumnsJob.java:103)         at org.apache.kylin.engine.mr
> .MRUtil.runMRJob(MRUtil.java:88)   at org.apache.kylin.engine.mr.
> common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)   at
> org.apache.kylin.job.execution.AbstractExecutable.
> execute(AbstractExecutable.java:113)       at org.apache.kylin.job.
> execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:57)
>    at org.apache.kylin.job.execution.AbstractExecutable.
> execute(AbstractExecutable.java:113)       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)
>
>
>
>
> 上一封 下一封
> « 返回
>
>
>
>
>
>
>
>
> 上一封 下一封




-- 
Best regards,

Shaofeng Shi 史少锋

Re: some question about kylin

Posted by "Billy(Yiming) Liu" <li...@gmail.com>.
Have you built the cube successfully? The Insight Tab lists query-able
tables only.

2016-10-18 11:14 GMT+08:00 张磊 <12...@qq.com>:

> hi
> in model menu, there are some tables; but in insight menu,there is no
> tables, the file of kylin.log do not contain errors, why?
>
> ------------------ 原始邮件 ------------------
> *发件人:* "ShaoFeng Shi";<sh...@apache.org>;
> *发送时间:* 2016年10月17日(星期一) 晚上10:00
> *收件人:* "dev"<de...@kylin.apache.org>;
> *主题:* Re: some question about kylin
>
> Hi,
>
> Usually this is caused that HBase's script didn't inheritate the
> "HBASE_CLASSPATH" environment varaible (Kylin depends on it to attache Hive
> jars to classpath).
>
> Go to the HBase installation path, and then grep "HBASE_CLASSPATH" in the
> `hbase` shell file, you should find something like:
>
> export
> HBASE_CLASSPATH=$HADOOP_CONF:$HADOOP_HOME/*:$HADOOP_HOME/
> lib/*:$ZOOKEEPER_HOME/*:$ZOOKEEPER_HOME/lib/*:$HBASE_CLASSPATH
>
> Above is a good sample, as it will keep the original value of
> $HBASE_CLASSPATH; But in some distribution like EMR 5.0, it just set the
> HBASE_CLASSPATH value instead of appending, then it will cause the hive jar
> not on Kylin's classpath. You need manually correct that.
>
> I will add this to FAQ page.
>
>
> 2016-10-17 17:03 GMT+08:00 张磊 <12...@qq.com>:
>
> > I install kylin(apache-kylin-1.5.4.1-hbase1.x-bin) in EMR5.0.0, while i
> > operate on web, there is some error, i do not install hcatalog in emr.
> How
> > can i resolve this question? Thanks!
> >
> > java.lang.NoClassDefFoundError: org/apache/hive/hcatalog/
> mapreduce/HCatInputFormat
> >     at org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.
> > configureJob(HiveMRInput.java:89)      at org.apache.kylin.engine.mr.
> > steps.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:
> 123)
> >        at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.
> > run(FactDistinctColumnsJob.java:103)         at
> org.apache.kylin.engine.mr
> > .MRUtil.runMRJob(MRUtil.java:88)   at org.apache.kylin.engine.mr.
> > common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)   at
> > org.apache.kylin.job.execution.AbstractExecutable.
> > execute(AbstractExecutable.java:113)       at org.apache.kylin.job.
> > execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:
> 57)
> >    at org.apache.kylin.job.execution.AbstractExecutable.
> > execute(AbstractExecutable.java:113)       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)
> >
> >
> >
> >
> > 上一封 下一封
> > « 返回
> >
> >
> >
> >
> >
> >
> >
> >
> > 上一封 下一封
>
>
>
>
> --
> Best regards,
>
> Shaofeng Shi 史少锋
>
>


-- 
With Warm regards

Yiming Liu (刘一鸣)