check this http://apache-kylin.74782.x6.nabble.com/NoSuchMethodError-org-apache-hadoop-yarn-conf-YarnConfiguration-getServiceAddressConfKeys-td2937.html
On Wed, Dec 30, 2015 at 12:43 PM, cedricsun(孙仕杰) <[email protected]> wrote: > Hi, I'm trying to run kylin1.2 on my test hadoop env with hadoop2.7.1 + > hive0.14 + hbase0.98. > But when I build the sample cube "kylin_sales_cube" , I encounter some > error during step 2 "Extract Fact Table Distinct Columns". > > "java.lang.NoSuchMethodError: > org.apache.hadoop.yarn.conf.YarnConfiguration.getServiceAddressConfKeys(Lorg/apache/hadoop/conf/Configuration;)Ljava/util/List;" > But > org.apache.hadoop.yarn.conf.YarnConfiguration.getServiceAddressConfKeys > exists in our hadoop's lib hadoop-yarn-api-2.7.1.jar > > I wonder if someone is kind enough to help me solve it? > > Related log in "kylin.log": > > 2015-12-30 11:26:02,311 INFO [pool-5-thread-3] client.RMProxy: Connecting > to ResourceManager at 10-121-105-161/10.121.105.161:8032 > 2015-12-30 11:26:02,535 INFO [pool-5-thread-3] mapred.FileInputFormat: > Total input paths to process : 1 > 2015-12-30 11:26:02,571 INFO [pool-5-thread-3] mapreduce.JobSubmitter: > number of splits:1 > 2015-12-30 11:26:02,575 INFO [pool-5-thread-3] Configuration.deprecation: > mapred.reduce.tasks is deprecated. Instead, use mapreduce.job.reduces > 2015-12-30 11:26:02,604 INFO [pool-5-thread-3] mapreduce.JobSubmitter: > Submitting tokens for job: job_1451392145294_0013 > 2015-12-30 11:26:02,621 INFO [pool-5-thread-3] impl.YarnClientImpl: > Submitted application application_1451392145294_0013 to ResourceManager at > 10-121-105-161/10.121.105.161:8032 > 2015-12-30 11:26:02,624 INFO [pool-5-thread-3] mapreduce.Job: The url to > track the job: http:// > http://10-121-105-161:8088/proxy/application_1451392145294_0013/ > [pool-5-thread-3]:[2015-12-30 > 11:26:02,625][INFO][org.apache.kylin.job.hadoop.AbstractHadoopJob.cleanupTempConfFile(AbstractHadoopJob.java:401)] > - tempMetaFileString is : > file:///home/hadoop/bins/apache-kylin-1.2-bin/bin/./../tomcat/temp/kylin_job_meta2026291924566324624/meta > [pool-5-thread-3]:[2015-12-30 > 11:26:02,626][INFO][org.apache.kylin.job.common.MapReduceExecutable.getRestStatusCheckUrl(MapReduceExecutable.java:189)] > - kylin.job.yarn.app.rest.check.status.url is not set, read from job > configuration > [pool-5-thread-3]:[2015-12-30 > 11:26:02,626][ERROR][org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:109)] > - error running Executable > 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:191) > 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) > > ________________________________ > Best, > cedricsun(孙仕杰) > -- Regards, *Bin Mahone | 马洪宾* Apache Kylin: http://kylin.io Github: https://github.com/binmahone
