i install in my linux(centos6) use apache hive0.13, apache hbase0.96, apache
hadoop2.2.0,
kylin0.7.1, when I run kylin.sh start, i have some issues
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'ldapUserAuthProvider' defined in class path resource
[kylinSecurity.xml]: Cannot create inner bean
'org.springframework.security.ldap.authentication.BindAuthenticator#32834ec7'
of type [org.springframework.security.ldap.authentication.BindAuthenticator]
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.security.ldap.authentication.BindAuthenticator#32834ec7'
defined in class path resource [kylinSecurity.xml]: Cannot resolve reference to
bean 'ldapSource' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'ldapSource' defined in class path resource [kylinSecurity.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class
[org.springframework.security.ldap.DefaultSpringSecurityContextSource]:
Constructor threw exception; nested exception is
java.lang.IllegalArgumentException: An LDAP connection URL must be supplied.
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
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)
... 87 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.security.ldap.authentication.BindAuthenticator#32834ec7'
defined in class path resource [kylinSecurity.xml]: Cannot resolve reference to
bean 'ldapSource' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'ldapSource' defined in class path resource [kylinSecurity.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class
[org.springframework.security.ldap.DefaultSpringSecurityContextSource]:
Constructor threw exception; nested exception is
java.lang.IllegalArgumentException: An LDAP connection URL must be supplied.
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
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.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
... 99 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'ldapSource' defined in class path resource
[kylinSecurity.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class
[org.springframework.security.ldap.DefaultSpringSecurityContextSource]:
Constructor threw exception; nested exception is
java.lang.IllegalArgumentException: An LDAP connection URL must be supplied.
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
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)
... 107 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.springframework.security.ldap.DefaultSpringSecurityContextSource]:
Constructor threw exception; nested exception is
java.lang.IllegalArgumentException: An LDAP connection URL must be supplied.
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:110)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
... 116 more
Caused by: java.lang.IllegalArgumentException: An LDAP connection URL must be
supplied.
at org.springframework.util.Assert.hasLength(Assert.java:136)
at
org.springframework.security.ldap.DefaultSpringSecurityContextSource.<init>(DefaultSpringSecurityContextSource.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 118 more
INFO: Illegal access: this web application instance has been stopped already.
Could not load org.apache.kylin.common.persistence.ResourceStore$1. The
eventual following stack trace is caused by an error thrown for debugging
purposes as well as to attempt to terminate the thread which caused the illegal
access, and has no functional impact.
java.lang.IllegalStateException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at
org.apache.kylin.common.persistence.ResourceStore.collectResourceRecursively(ResourceStore.java:251)
at
org.apache.kylin.metadata.MetadataManager.reloadAllSourceTable(MetadataManager.java:248)
at
org.apache.kylin.metadata.MetadataManager.init(MetadataManager.java:194)
at
org.apache.kylin.metadata.MetadataManager.<init>(MetadataManager.java:106)
at
org.apache.kylin.metadata.MetadataManager.getInstance(MetadataManager.java:78)
at org.apache.kylin.job.dao.ExecutableDao.<init>(ExecutableDao.java:66)
at
org.apache.kylin.job.dao.ExecutableDao.getInstance(ExecutableDao.java:54)
at
org.apache.kylin.job.manager.ExecutableManager.<init>(ExecutableManager.java:76)
at
org.apache.kylin.job.manager.ExecutableManager.getInstance(ExecutableManager.java:63)
at
org.apache.kylin.job.impl.threadpool.DefaultScheduler.init(DefaultScheduler.java:209)
at
org.apache.kylin.rest.controller.JobController$1.run(JobController.java:85)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "Thread-11" java.lang.NoClassDefFoundError:
org/apache/kylin/common/persistence/ResourceStore$1
at
org.apache.kylin.common.persistence.ResourceStore.collectResourceRecursively(ResourceStore.java:251)
at
org.apache.kylin.metadata.MetadataManager.reloadAllSourceTable(MetadataManager.java:248)
at
org.apache.kylin.metadata.MetadataManager.init(MetadataManager.java:194)
at
org.apache.kylin.metadata.MetadataManager.<init>(MetadataManager.java:106)
at
org.apache.kylin.metadata.MetadataManager.getInstance(MetadataManager.java:78)
at org.apache.kylin.job.dao.ExecutableDao.<init>(ExecutableDao.java:66)
at
org.apache.kylin.job.dao.ExecutableDao.getInstance(ExecutableDao.java:54)
at
org.apache.kylin.job.manager.ExecutableManager.<init>(ExecutableManager.java:76)
at
org.apache.kylin.job.manager.ExecutableManager.getInstance(ExecutableManager.java:63)
at
org.apache.kylin.job.impl.threadpool.DefaultScheduler.init(DefaultScheduler.java:209)
at
org.apache.kylin.rest.controller.JobController$1.run(JobController.java:85)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.apache.kylin.common.persistence.ResourceStore$1
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
... 12 more
i didn't know the reason.
please help me,thank you