Kylin1.3 and Kylin1.5 both has the HBase1.x version binary package If you are the first time to use Kylin and your env has Hadoop2.7.1 and HBase1.1.1, I suggest you to use Kylin1.5.2.1-HBase1.x version. This version is compile with Hadoop-2.7.1,HBase-1.1.1,Hive-1.2.1. So you can upgrade your hive to 1.2.1. it will work fine.
在 2016年6月29日,18:46,Punit Naik <[email protected]<mailto:[email protected]>> 写道: I updated my hbase from 0.98.2 to 1.1.1 but it gave the following error when I tried to start kylin or run the sample.sh file: Caused by: java.lang.IllegalArgumentException: Failed to find metadata store by url: kylin_metadata@hbase at org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:93) at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:104) at org.apache.kylin.cube.CubeManager.getStore(CubeManager.java:880) at org.apache.kylin.cube.CubeManager.loadAllCubeInstance(CubeManager.java:814) at org.apache.kylin.cube.CubeManager.<init>(CubeManager.java:125) at org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:94) at org.apache.kylin.rest.service.CacheService.initCubeChangeListener(CacheService.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132) ... 53 more Can you help me on this? On Wed, Jun 29, 2016 at 3:41 PM, Punit Naik <[email protected]<mailto:[email protected]>> wrote: Hi I will try that and get back to you. On Wed, Jun 29, 2016 at 3:33 PM, 王晓雨 <[email protected]<mailto:[email protected]>> wrote: 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/$%7Bjob_id%7D?anonymous=true> in $KYLIN_HOME/conf/kylin.properties ${job_id} will be auto replaced in kylin. 在 2016年6月29日,17:13,Punit Naik <[email protected]<mailto:[email protected]>> 写道: 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]<mailto:[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 Yo Regards Punit Naik -- Thank You Regards Punit Naik -- Thank You Regards Punit Naik -- Thank You Regards Punit Naik
