yanxinghao created KYLIN-1374:
---------------------------------
Summary: Error creating bean with name 'aclService' defined in
file
[/home/hadoop/apache-kylin-1.2-bin/tomcat/webapps/kylin/WEB-INF/classes/org/apache/kylin/rest/service/AclService.class]:
Instantiation of bean failed;
Key: KYLIN-1374
URL: https://issues.apache.org/jira/browse/KYLIN-1374
Project: Kylin
Issue Type: Bug
Components: Storage - HBase
Affects Versions: 1.x-HBase1.1.3
Environment: hadoop-2.5.1-x64.tar.gz
zookeeper-3.4.6.tar
hive-1.2.1
hbase-1.1.3
apache-kylin-1.2
Reporter: yanxinghao
Assignee: liyang
Would you please do me a favor by solving this Kylin start Error
"Error creating bean with name 'aclService' defined in file
[/home/hadoop/apache-kylin-1.2-bin/tomcat/webapps/kylin/WEB-INF/classes/org/apache/kylin/rest/service/AclService.class]:
Instantiation of bean failed;"
our hadoop cluster version:
hadoop-2.5.1-x64.tar.gz
zookeeper-3.4.6.tar
hive-1.2.1
hbase-1.1.3
apache-kylin-1.2
kylin start log as follows:
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'aclService' defined in file
[/home/hadoop/apache-kylin-1.2-bin/tomcat/webapps/kylin/WEB-INF/classes/org/apache/kylin/rest/service/AclService.class]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.kylin.rest.service.AclService]: Constructor threw
exception; nested exception is java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/client/HConnection;)V
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 116 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.apache.kylin.rest.service.AclService]: Constructor
threw exception; nested exception is java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/client/HConnection;)V
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
... 124 more
Caused by: java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/client/HConnection;)V
at
org.apache.kylin.common.persistence.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:89)
at
org.apache.kylin.common.persistence.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:85)
at org.apache.kylin.rest.service.AclService.<init>(AclService.java:127)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 126 more
Jan 27, 2016 3:05:56 PM org.apache.catalina.core.StandardContext startInternal
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)