Hi Luke et al  -- I followed your recommendations of cloning the latest.
Doesn't work with HBase 1.x version.  

1) git clone https://github.com/apache/incubator-kylin kylin_latest
2) Added to POM to fix RAT issues.
                                <exclude>**/*.proto</exclude>
                                <exclude>**/*.exclude</exclude>
                                <exclude>**/*.expected</exclude>
3) Clean package and build
[root@worker1 kylin_latest]# ./script/package.sh 
......
INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [  2.570
s]
[INFO] Kylin:AtopCalcite .................................. SUCCESS [  2.191
s]
[INFO] Kylin:Common ....................................... SUCCESS [  5.426
s]
[INFO] Kylin:Metadata ..................................... SUCCESS [  1.326
s]
[INFO] Kylin:Dictionary ................................... SUCCESS [  1.556
s]
[INFO] Kylin:Cube ......................................... SUCCESS [  2.362
s]
[INFO] Kylin:InvertedIndex ................................ SUCCESS [  0.604
s]
[INFO] Kylin:Job .......................................... SUCCESS [  4.227
s]
[INFO] Kylin:Storage ...................................... SUCCESS [  2.248
s]
[INFO] Kylin:Query ........................................ SUCCESS [  1.434
s]
[INFO] Kylin:JDBC ......................................... SUCCESS [  2.065
s]
[INFO] Kylin:RESTServer ................................... SUCCESS [  7.623
s]
[INFO] Kylin:Monitor ...................................... SUCCESS [  0.863
s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 34.831 s
[INFO] Finished at: 2015-10-14T16:49:42-04:00
[INFO] Final Memory: 148M/2197M
[INFO]
------------------------------------------------------------------------
package front-end
...
...
...
..
Package ready dist/kylin-1.1-incubating-SNAPSHOT-bin.tar.gz

This package fails to start with the earlier error 

81, sessionid = 0x15067463b2f0009, negotiated timeout = 40000
[localhost-startStop-1]:[2015-10-14
16:41:05,726][ERROR][org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java: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' defined in file
[/home/worker1/kylin-1.1-incubating-SNAPSHOT/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.createBean(AbstractAutowireCapableBeanFactory.java:452)
       
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.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
       
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
       
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
       
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
       
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
       
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
       
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
        at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
        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)





--
View this message in context: 
http://apache-kylin-incubating.74782.x6.nabble.com/SAMPLE-CUBE-FAILS-tp1936p1968.html
Sent from the Apache Kylin (Incubating) mailing list archive at Nabble.com.

Reply via email to