kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ShaoFeng Shi <shaofeng...@apache.org>
Subject Re: cdh5.4.1 and apache-kylin-2.0.0-bin-cdh57 can't work together
Date Wed, 05 Jul 2017 11:14:12 GMT
As there are many hadoop distribution/versions, we couldn't provide support
for all of them.

You can either 1) upgrade to CDH 5.7, or 2) compile and build a Kylin for
CDH 5.4

For 2), pls clone Kylin's repository, checkout to a tag for CDH 5.7, modify
the version in pom.xml to CDH 5.4, and then compile. There should be
several compilation error to fix due to the HBase API is different. After
fixing all compile issues, you can build a binary package there.

2017-07-05 16:12 GMT+08:00 hugo_zun <987093193@qq.com>:

> thx for responsewhich version i can use?i used
> apache-kylin-2.0.0-bin-hbase1x.tar.gz web can't run. i got it
> error--------------------------------------------------------------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?  at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.createBean(AbstractAutowireCapableBeanFactory.java:454)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.
> getObject(AbstractBeanFactory.java:293)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
> getSingleton(DefaultSingletonBeanRegistry.java:223)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> AbstractBeanFactory.java:290)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> AbstractBeanFactory.java:191)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> preInstantiateSingletons(DefaultListableBeanFactory.java:618)
> at
> org.springframework.context.support.AbstractApplicationContext.
> finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:479)
> at
> org.springframework.web.context.ContextLoader.
> configureAndRefreshWebApplicationContext(ContextLoader.java:410)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(
> ContextLoader.java:306)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:112)
> at
> org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:5068)
> at
> org.apache.catalina.core.StandardContext.startInternal(
> StandardContext.java:5584)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at
> org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:899)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>       at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)  at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)Caused by:
> 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)#7b69aa87' 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)#7b69aa87': Cannot create inner bean '(inner
> bean)#41fc829f' 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)#41fc829f': 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': Injection of autowired dependencies failed; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Could
> not autowire field: protected org.apache.kylin.rest.service.UserService
> org.apache.kylin.rest.service.AclService.userService; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'userService': Invocation of init method failed; nested exception
> is java.lang.NoSuchMethodError:
> org.apache.hadoop.hbase.HTableDescriptor.addFamily(
> Lorg/apache/hadoop/hbase/HColumnDescriptor;)Lorg/apache/hadoop/hbase/
> HTableDescriptor;
>
> --
> View this message in context: http://apache-kylin.74782.x6.
> nabble.com/cdh5-4-1-and-apache-kylin-2-0-0-bin-cdh57-can-t-work-together-
> tp8366p8368.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>



-- 
Best regards,

Shaofeng Shi 史少锋

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message