You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by 浪心无尘 <24...@qq.com> on 2016/01/19 03:55:27 UTC

ask for help while deploying kylin

hi, dear kylin users.I followed the tutorial in kylin’s homepage to build a kylin sample.
while building the sample cube, I got an error:


com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchFieldError: METASTORE_AGGREGATE_STATS_CACHE_ENABLED 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2254) 	at com.google.common.cache.LocalCache.get(LocalCache.java:3985) 	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4788) 	at org.apache.hive.hcatalog.common.HiveClientCache.getOrCreate(HiveClientCache.java:224) 	at org.apache.hive.hcatalog.common.HiveClientCache.get(HiveClientCache.java:200) 	at org.apache.hive.hcatalog.common.HCatUtil.getHiveClient(HCatUtil.java:558) 	at org.apache.hive.hcatalog.mapreduce.InitializeInput.getInputJobInfo(InitializeInput.java:104) 	at org.apache.hive.hcatalog.mapreduce.InitializeInput.setInput(InitializeInput.java:86) 	at org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:95) 	at org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:51) 	at org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:101) 	at org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:77) 	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:120) 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107) 	at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)it occurred in the second step:”Extract Fact Table Distinct Columns”.





I guess it's a problem related to the hive version, my hive version is hive 1.1.0。
I also tried kylin on an other cluster with hive 0.14.0 deployed and build the sample cube successfully.
Is it really caused by the hive version?  is there any way to solve the problem.


Thanks so much for your patients:)


the first snapshot is the log of successfully build cube and the the second snapshot is the failed one:




















best regards!


chenhao

Re: ask for help while deploying kylin

Posted by Li Yang <li...@apache.org>.
Can you provide details of your env?  Hadoop/HBase/Hive/Kylin versions at
minimal.

On Tue, Jan 19, 2016 at 10:55 AM, 浪心无尘 <24...@qq.com> wrote:

> hi, dear kylin users.
> I followed the tutorial in kylin’s homepage to build a kylin sample.
> while building the sample cube, I got an error:
>
> com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchFieldError: METASTORE_AGGREGATE_STATS_CACHE_ENABLED
> 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2254)
> 	at com.google.common.cache.LocalCache.get(LocalCache.java:3985)
> 	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4788)
> 	at org.apache.hive.hcatalog.common.HiveClientCache.getOrCreate(HiveClientCache.java:224)
> 	at org.apache.hive.hcatalog.common.HiveClientCache.get(HiveClientCache.java:200)
> 	at org.apache.hive.hcatalog.common.HCatUtil.getHiveClient(HCatUtil.java:558)
> 	at org.apache.hive.hcatalog.mapreduce.InitializeInput.getInputJobInfo(InitializeInput.java:104)
> 	at org.apache.hive.hcatalog.mapreduce.InitializeInput.setInput(InitializeInput.java:86)
> 	at org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:95)
> 	at org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:51)
> 	at org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:101)
> 	at org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:77)
> 	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:120)
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
> 	at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)
>
> it occurred in the second step:”Extract Fact Table Distinct Columns”.
>
>
> I guess it's a problem related to the hive version, my hive version is
> hive 1.1.0。
> I also tried kylin on an other cluster with hive 0.14.0 deployed and build
> the sample cube successfully.
> Is it really caused by the hive version?  is there any way to solve the
> problem.
>
> Thanks so much for your patients:)
>
> the first snapshot is the log of successfully build cube and the the
> second snapshot is the failed one:
>
>
>
>
>
>
>
>
>
> best regards!
>
> chenhao
>
>
>