You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Yagyank Chadha <ya...@gmail.com> on 2016/04/06 14:38:16 UTC
Sample cube giving error on step 2
Hi,
I am trying to run sample cube 2 but is stuck on step 2. My problem is same
as given here(
http://apache-kylin.74782.x6.nabble.com/NoSuchMethodError-org-apache-hadoop-yarn-conf-YarnConfiguration-getServiceAddressConfKeys-td2937.html)
but I dont know how to change the hadoop bundeled whith hbase. Because the
hadoop I installed manually is 2.6 and the hadoop bundled wtih hbase is
2.2 so do I need to upgrade Hbase to 1.1.3 or is there anyother solution?
Below is the error I am getting
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.engine.mr.common.MapReduceExecutable.getRestStatusCheckUrl(MapReduceExecutable.java:220)
at org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:137)
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)
at java.lang.Thread.run(Thread.java:745)
--
Regards
*Yagyank chadha*
*Undergraduate student*
*Computer Science Engineering*
*Thapar University, Patiala*
Re: Sample cube giving error on step 2
Posted by 王晓雨 <wa...@jd.com>.
Hi
If your kylin server is a hbase client node not a regionserver or master,
You can replace all hadoop jar files in $HBASE_HOME/lib to your hadoop cluster version.
> 在 2016年4月8日,18:33,Li Yang <li...@apache.org> 写道:
>
> The latest version 1.5.1 under voting will have a package for HBase 1.x.
> Stay tuned and give it a try.
>
> On Wed, Apr 6, 2016 at 8:38 PM, Yagyank Chadha <ya...@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to run sample cube 2 but is stuck on step 2. My problem is same
>> as given here(
>>
>> http://apache-kylin.74782.x6.nabble.com/NoSuchMethodError-org-apache-hadoop-yarn-conf-YarnConfiguration-getServiceAddressConfKeys-td2937.html
>> )
>> but I dont know how to change the hadoop bundeled whith hbase. Because the
>> hadoop I installed manually is 2.6 and the hadoop bundled wtih hbase is
>> 2.2 so do I need to upgrade Hbase to 1.1.3 or is there anyother solution?
>>
>> Below is the error I am getting
>>
>> 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.engine.mr.common.MapReduceExecutable.getRestStatusCheckUrl(MapReduceExecutable.java:220)
>> at
>> org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:137)
>> 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)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>>
>> --
>> Regards
>> *Yagyank chadha*
>>
>> *Undergraduate student*
>> *Computer Science Engineering*
>> *Thapar University, Patiala*
>>
Re: Sample cube giving error on step 2
Posted by Li Yang <li...@apache.org>.
The latest version 1.5.1 under voting will have a package for HBase 1.x.
Stay tuned and give it a try.
On Wed, Apr 6, 2016 at 8:38 PM, Yagyank Chadha <ya...@gmail.com> wrote:
> Hi,
>
> I am trying to run sample cube 2 but is stuck on step 2. My problem is same
> as given here(
>
> http://apache-kylin.74782.x6.nabble.com/NoSuchMethodError-org-apache-hadoop-yarn-conf-YarnConfiguration-getServiceAddressConfKeys-td2937.html
> )
> but I dont know how to change the hadoop bundeled whith hbase. Because the
> hadoop I installed manually is 2.6 and the hadoop bundled wtih hbase is
> 2.2 so do I need to upgrade Hbase to 1.1.3 or is there anyother solution?
>
> Below is the error I am getting
>
> 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.engine.mr.common.MapReduceExecutable.getRestStatusCheckUrl(MapReduceExecutable.java:220)
> at
> org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:137)
> 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)
> at java.lang.Thread.run(Thread.java:745)
>
>
>
> --
> Regards
> *Yagyank chadha*
>
> *Undergraduate student*
> *Computer Science Engineering*
> *Thapar University, Patiala*
>