kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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;
Date Wed, 27 Jan 2016 08:45:40 GMT

    [ https://issues.apache.org/jira/browse/KYLIN-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118879#comment-15118879
] 

Shaofeng SHI commented on KYLIN-1374:
-------------------------------------

Are you sure you download the right Kylin version for HBase 1.1.x? Check https://kylin.apache.org/download/

> 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)

Mime
View raw message