kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 王晓雨 <wangxiao...@jd.com>
Subject Re: sample_cube build error
Date Wed, 29 Jun 2016 10:03:04 GMT
Hi
HBase 0.98 is depends hadoop 2.2
If you can upgrade HBase version to 1.x can fix this exception.
if can’t upgrade HBase
set
kylin.job.yarn.app.rest.check.status.url= http://YOUR_RM_AND_PORT/ws/v1/cluster/apps/${job_id}?anonymous=true<http://your_rm_and_port/ws/v1/cluster/apps/${job_id}?anonymous=true>
in $KYLIN_HOME/conf/kylin.properties
${job_id} will be auto replaced in kylin.

在 2016年6月29日,17:13,Punit Naik <naik.punit44@gmail.com<mailto:naik.punit44@gmail.com>>
写道:

Hello

I even upgraded Hadoop from 2.4.0 to 2.7.1 but still I get the same error. I have checked
the source code and the method 'YarnConfiguration.getServiceAddressConfKeys' is already there
and the parameter and the return types are proper. Why do I still get this error?

On Wed, Jun 29, 2016 at 12:28 PM, Punit Naik <naik.punit44@gmail.com<mailto:naik.punit44@gmail.com>>
wrote:
Hello

I was building the sample_cube for kylin but it gave me the following error at Step #2:

java.lang.NoSuchMethodError: org.apache.hadoop.yarn.conf.YarnConfiguration.getServiceAddressConfKeys(Lorg/apache/hadoop/conf/Configuration;)Ljava/util/List;
        at org.apache.hadoop.yarn.conf.HAUtil.getConfKeyForRMInstance(HAUtil.java:239)
        at org.apache.hadoop.yarn.conf.HAUtil.getConfValueForRMInstance(HAUtil.java:250)
        at org.apache.hadoop.yarn.conf.HAUtil.getConfValueForRMInstance(HAUtil.java:262)
        at org.apache.kylin.job.common.MapReduceExecutable.getRestStatusCheckUrl(MapReduceExecutable.java:198)
        at org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:135)
        at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
        at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)
        at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
        at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:130)
        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)

The Hadoop, HBase, Hive and Kylin versions that I am running are 2.4.0, 0.98.2, 0.14 and 1.3.0
respectively.

How do I fix this?

--
Thank Yo

Regards

Punit Naik



--
Thank You

Regards

Punit Naik

Mime
View raw message