Hello, Seems the root cause is:
java.lang.NoSuchMethodError: org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/client/HConnection;)V Since HBase APIs differ in different versions, Kylin provides 3 binary packages for different hbase versions. Please check your version. If you're using HBase 0.99, please use the binary package for HBase 0.98. http://kylin.apache.org/download/ Thanks, Dong Li 2016-12-05 21:21 GMT+08:00 rockteen <[email protected]>: > Hi, > > I was trying to setup Kylin on a Hadoop Cluster which is managed by Ambari. > The version of hadoop is 2.6.0, the version of Hive is 0.14.0, the version > of HBase is 0.99.2 and the version of kylin is > apache-kylin-1.5.4.1-bin.tar.gz. > > I could see the "A new Kylin instance is started by root" but then I was > failed to access the web UI, also running sample.sh returned several error > messages.Hive and Hbase shell runs totally well on the server, there are > "kylin_metadata","kylin_metadata_acl","kylin_metadata_user" in the list of > Hbase catagory. I also tested the connection between Hbase and Hive by > creating a mutual table. A lot of solution on Baidu and Google were tested > but the issue remains. Much appreciated if someone can help me on this. > > > 2016-12-05 20:03:05,953 WARN [localhost-startStop-1] > util.HeapMemorySizeUtil:55 : hbase.regionserver.global.memstore.upperLimit > is deprecated by hbase.regionserver.global.memstore.size > 2016-12-05 20:03:06,816 WARN [localhost-startStop-1] > support.XmlWebApplicationContext:487 : Exception encountered during > context > initialization - cancelling refresh attempt: > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name 'mvcContentNegotiationManager': BeanPostProcessor before > instantiation of bean failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name 'org.springframework.cache.config.internalCacheAdvisor': Cannot > resolve reference to bean > 'org.springframework.cache.annotation.AnnotationCacheOperationSource#0' > while setting bean property 'cacheOperationSource'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name > 'org.springframework.cache.annotation.AnnotationCacheOperationSource#0': > BeanPostProcessor before instantiation of bean failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name > 'org.springframework.security.methodSecurityMetadataSourceAdvisor': Cannot > resolve reference to bean > 'org.springframework.security.access.method.DelegatingMethodSecurityMetada > taSource#0' > while setting constructor argument; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name > 'org.springframework.security.access.method.DelegatingMethodSecurityMetada > taSource#0': > Cannot create inner bean '(inner bean)#7284f1a1' of type > [org.springframework.security.access.prepost. > PrePostAnnotationSecurityMetadataSource] > while setting constructor argument with key [0]; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name '(inner bean)#7284f1a1': Cannot create inner bean '(inner > bean)#98c3bc5' of type > [org.springframework.security.access.expression.method. > ExpressionBasedAnnotationAttributeFactory] > while setting constructor argument; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name '(inner bean)#98c3bc5': Cannot resolve reference to bean > 'expressionHandler' while setting constructor argument; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name 'expressionHandler' defined in class path resource > [kylinSecurity.xml]: Cannot resolve reference to bean 'permissionEvaluator' > while setting bean property 'permissionEvaluator'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name 'permissionEvaluator' defined in class path resource > [kylinSecurity.xml]: Cannot resolve reference to bean 'aclService' while > setting constructor argument; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name 'aclService': Invocation of init method failed; nested exception > is java.lang.NoSuchMethodError: > org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/ > apache/hadoop/hbase/client/HConnection;)V > Related cause: > org.springframework.beans.factory.BeanCurrentlyInCreationException: Error > creating bean with name 'mvcContentNegotiationManager': Requested bean is > currently in creation: Is there an unresolvable circular reference? > > -- > View this message in context: http://apache-kylin.74782.x6. > nabble.com/A-question-about-establishing-Kylin-tp6499.html > Sent from the Apache Kylin mailing list archive at Nabble.com. >
