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 <[email protected]> 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 You > > Regards > > Punit Naik > -- Thank You Regards Punit Naik
