You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "yanxinghao (JIRA)" <ji...@apache.org> on 2016/01/27 09:01:39 UTC

[jira] [Created] (KYLIN-1374) 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;

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)

Re: [jira] [Created] (KYLIN-1374) 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;

Posted by hongbin ma <ma...@apache.org>.
what kylin version are you using now? AFAIK we haven't supported hbase 1.0
above.

checkout this http://kylin.apache.org/download/

*Binary Package (for running on HBase 1.1.3 or above)*
*As there are more and more HBase 1.1 deployments, an binary snapshot build
for HBase 1.1.3+ is provided; *
*Note the requirement of HBase version 1.1.3 (or above). There is a known
bug in HBase earlier versions about fuzzy key filter that will cause*
*missing rows or lesser aggregations in Kylin query result: HBASE-14269*
*Also, please aware this is not a formal release, and it is not fully
tested:*

*apache-kylin-1.3-HBase-1.1-SNAPSHOT-bin.tar.gz*
*Git commit a3b8eb04955310abec158ea30f61deb0119679d1*
*If you’re using HBase 1.0, we suggest you to upgrade to 1.1.3+ or
downgrade to 0.98/0.99.*


-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone