Hi All

I am trying to install Kylin apache-kylin-2.1.0-bin-hbase1x on EMR and
getting the following errors.

[root@ip-172-31-35-25 lib]# pwd
/etc/apache-kylin-2.1.0-bin-hbase1x/tomcat/webapps/kylin/WEB-INF/lib
[root@ip-172-31-35-25 lib]# ls -al | grep joda
-rw-r--r-- 1 root root  573912 May  6  2016 joda-time-2.2.jar

Looks like the jar is available inside the webinf/lib as well.

Any help is appreciated!!

*kylin.log*
2017-09-05 12:06:45,097 ERROR [localhost-startStop-1]
context.ContextLoader:351 : Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 
'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter':
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException:
Failed to instantiate [org.springframework.web.
servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor
threw exception; nested exception is java.lang.NoSuchMethodError:
org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/
DateTimeFormatter;
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.instantiateBean(
AbstractAutowireCapableBeanFactory.java:1109)
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.createBeanInstance(
AbstractAutowireCapableBeanFactory.java:1054)
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.doCreateBean(
AbstractAutowireCapableBeanFactory.java:510)
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFac
tory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.
getObject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.
DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
        at org.springframework.beans.factory.support.
AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.
AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at org.springframework.beans.factory.support.
DefaultListableBeanFactory.preInstantiateSingletons(
DefaultListableBeanFactory.java:778)
        at org.springframework.context.support.AbstractApplicationContext.
finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
        at org.springframework.context.support.AbstractApplicationContext.
refresh(AbstractApplicationContext.java:538)
        at org.springframework.web.context.ContextLoader.
configureAndRefreshWebApplicationContext(ContextLoader.java:444)
        at org.springframework.web.context.ContextLoader.
initWebApplicationContext(ContextLoader.java:326)
......


Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate 
[org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]:
Constructor threw exception; nested exception is
java.lang.NoSuchMethodError: org.joda.time.format.
DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/DateTimeFormatter;
        at org.springframework.beans.BeanUtils.instantiateClass(
BeanUtils.java:163)
        at org.springframework.beans.factory.support.
SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.instantiateBean(
AbstractAutowireCapableBeanFactory.java:1102)
        ... 26 more


SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 
'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter':
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException:
Failed to instantiate [org.springframework.web.
servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor
threw exception; nested exception is java.lang.NoSuchMethodError:
org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/
DateTimeFormatter;
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.instantiateBean(
AbstractAutowireCapableBeanFactory.java:1109)
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.createBeanInstance(
AbstractAutowireCapableBeanFactory.java:1054)
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.doCreateBean(
AbstractAutowireCapableBeanFactory.java:510)
        at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFac
tory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.
getObject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.
DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
        at org.springframework.beans.factory.support.
AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.
AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at org.springframework.beans.factory.support.
DefaultListableBeanFactory.preInstantiateSingletons(
DefaultListableBeanFactory.java:778)
        at org.springframework.context.support.AbstractApplicationContext.
finishBeanFactoryInitialization(AbstractApplicationContext.java:839)

*kylin.out*

There is not keystore files in the folder

[root@ip-172-31-35-25 conf]# pwd
/etc/apache-kylin-2.1.0-bin-hbase1x/tomcat/conf
[root@ip-172-31-35-25 conf]# ls *.keystore
ls: cannot access *.keystore: No such file or directory


SEVERE: Failed to load keystore type JKS with path conf/.keystore due to
/etc/apache-kylin-2.1.0-bin-hbase1x/tomcat/conf/.keystore (No such file or
directory)
java.io.FileNotFoundException:
/etc/apache-kylin-2.1.0-bin-hbase1x/tomcat/conf/.keystore
(No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)


Sep 05, 2017 12:06:38 PM org.apache.catalina.core.StandardService
initInternal
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-7443]]
org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-7443]]
        at org.apache.catalina.util.LifecycleBase.init(
LifecycleBase.java:106)
        at org.apache.catalina.core.StandardService.initInternal(
StandardService.java:560)
        at org.apache.catalina.util.LifecycleBase.init(
LifecycleBase.java:102)
        at org.apache.catalina.core.StandardServer.initInternal(
StandardServer.java:838)
        at org.apache.catalina.util.LifecycleBase.init(
LifecycleBase.java:102)

Reply via email to