You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2016/11/16 17:25:00 UTC
[jira] [Reopened] (KYLIN-2190) The visitCube function of the
CubeVisitService class occured error when we compiled the kylin project
using hbase-server-1.2.x.jar.
[ https://issues.apache.org/jira/browse/KYLIN-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiang Zhang reopened KYLIN-2190:
--------------------------------
The following error occurred when the kylin.sh start command was ran. The Kylin startup failed. The Kylin started successfully after I modified the error and compiled.
2016-11-16 10:21:13,910 ERROR [localhost-startStop-1] context.ContextLoader:307 : Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': 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.DelegatingMethodSecurityMetadataSource#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean '(inner bean)' 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)': Cannot create inner bean '(inner bean)' 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)': 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 org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=6, exceptions:
Wed Nov 16 10:21:13 UTC 2016, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=114779: row 'kylin_metadata_acl,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=sandbox.hortonworks.com,16020,1473029971225, seqNum=0
> The visitCube function of the CubeVisitService class occured error when we compiled the kylin project using hbase-server-1.2.x.jar.
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-2190
> URL: https://issues.apache.org/jira/browse/KYLIN-2190
> Project: Kylin
> Issue Type: Bug
> Components: Storage - HBase
> Affects Versions: v1.5.3, v1.5.4, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
> Reporter: Qiang Zhang
> Assignee: liyang
> Labels: patch
>
> The RegionCoprocessorEnvironment interface was different between hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The value type of the getRegion function for the RegionCoprocessorEnvironment interface is HRegion class in hbase-server-0.9.8.jar. And it's value type is Region class in hbase-server-1.2.x.jar. The visitCube function of the CubeVisitService class couldn't be compatible with hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
> The reappear steps is as following:
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the <hbase-hadoop2.version> to 1.2.0 in the pom.xml of the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)