Please check https://issues.apache.org/jira/browse/KYLIN-3129
2017-09-06 22:31 GMT+08:00 ShaoFeng Shi <[email protected]>: > Thanks, I will try EMR 5.8 later; > > At this moment, you can try emr 5.5; one thing to pay attention is, you > need copy a configuration from hbase-site.xml to > KYLIN_HOME/conf/kylin_job_conf.xml > (replace the zk quorum name with yours): > > <property> > <name>hbase.zookeeper.quorum</name> > <value>ip-nn-nn-nn-nn.ap-northeast-2.compute.internal</value> > </property> > > > 2017-09-06 21:07 GMT+08:00 Mukund Agilisium <[email protected]>: > >> Hi >> >> I am using EMR 5.8.0 , the latest one. >> >> Thanks & Regards >> Mukund >> >> On Wed, Sep 6, 2017 at 8:44 AM, ShaoFeng Shi <[email protected]> >> wrote: >> >>> Hi Mukund, >>> >>> What's the EMR version? >>> >>> Check if there is other version's jar in EMR node, e.g,: >>> >>> sudo find / -name joda-time*.jar >>> >>> >>> 2017-09-06 1:52 GMT+08:00 Mukund Agilisium <[email protected]>: >>> >>>> 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.servl >>>> et.mvc.method.annotation.RequestMappingHandlerAdapter': Instantiation >>>> of bean failed; nested exception is >>>> org.springframework.beans.BeanInstantiationException: >>>> Failed to instantiate [org.springframework.web.servl >>>> et.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor >>>> threw exception; nested exception is java.lang.NoSuchMethodError: >>>> org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/jod >>>> a/time/format/DateTimeFormatter; >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.instantiateBean(AbstractAutowireCapableBean >>>> Factory.java:1109) >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.createBeanInstance(AbstractAutowireCapableB >>>> eanFactory.java:1054) >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac >>>> tory.java:510) >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFacto >>>> ry.java:482) >>>> at org.springframework.beans.factory.support.AbstractBeanFactor >>>> y$1.getObject(AbstractBeanFactory.java:306) >>>> at org.springframework.beans.factory.support.DefaultSingletonBe >>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) >>>> at org.springframework.beans.factory.support.AbstractBeanFactor >>>> y.doGetBean(AbstractBeanFactory.java:302) >>>> at org.springframework.beans.factory.support.AbstractBeanFactor >>>> y.getBean(AbstractBeanFactory.java:197) >>>> at org.springframework.beans.factory.support.DefaultListableBea >>>> nFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:778) >>>> at org.springframework.context.support.AbstractApplicationConte >>>> xt.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) >>>> at org.springframework.context.support.AbstractApplicationConte >>>> xt.refresh(AbstractApplicationContext.java:538) >>>> at org.springframework.web.context.ContextLoader.configureAndRe >>>> freshWebApplicationContext(ContextLoader.java:444) >>>> at org.springframework.web.context.ContextLoader.initWebApplica >>>> tionContext(ContextLoader.java:326) >>>> ...... >>>> >>>> >>>> Caused by: org.springframework.beans.BeanInstantiationException: >>>> Failed to instantiate [org.springframework.web.servl >>>> et.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor >>>> threw exception; nested exception is java.lang.NoSuchMethodError: >>>> org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/jod >>>> a/time/format/DateTimeFormatter; >>>> at org.springframework.beans.BeanUtils.instantiateClass(BeanUti >>>> ls.java:163) >>>> at org.springframework.beans.factory.support.SimpleInstantiatio >>>> nStrategy.instantiate(SimpleInstantiationStrategy.java:89) >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.instantiateBean(AbstractAutowireCapableBean >>>> Factory.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.servl >>>> et.mvc.method.annotation.RequestMappingHandlerAdapter': Instantiation >>>> of bean failed; nested exception is >>>> org.springframework.beans.BeanInstantiationException: >>>> Failed to instantiate [org.springframework.web.servl >>>> et.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor >>>> threw exception; nested exception is java.lang.NoSuchMethodError: >>>> org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/jod >>>> a/time/format/DateTimeFormatter; >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.instantiateBean(AbstractAutowireCapableBean >>>> Factory.java:1109) >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.createBeanInstance(AbstractAutowireCapableB >>>> eanFactory.java:1054) >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac >>>> tory.java:510) >>>> at org.springframework.beans.factory.support.AbstractAutowireCa >>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFacto >>>> ry.java:482) >>>> at org.springframework.beans.factory.support.AbstractBeanFactor >>>> y$1.getObject(AbstractBeanFactory.java:306) >>>> at org.springframework.beans.factory.support.DefaultSingletonBe >>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) >>>> at org.springframework.beans.factory.support.AbstractBeanFactor >>>> y.doGetBean(AbstractBeanFactory.java:302) >>>> at org.springframework.beans.factory.support.AbstractBeanFactor >>>> y.getBean(AbstractBeanFactory.java:197) >>>> at org.springframework.beans.factory.support.DefaultListableBea >>>> nFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:778) >>>> at org.springframework.context.support.AbstractApplicationConte >>>> xt.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.ja >>>> va:106) >>>> at org.apache.catalina.core.StandardService.initInternal(Standa >>>> rdService.java:560) >>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.ja >>>> va:102) >>>> at org.apache.catalina.core.StandardServer.initInternal(Standar >>>> dServer.java:838) >>>> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.ja >>>> va:102) >>>> >>> >>> >>> >>> -- >>> Best regards, >>> >>> Shaofeng Shi 史少锋 >>> >>> >> > > > -- > Best regards, > > Shaofeng Shi 史少锋 > > -- Best regards, Shaofeng Shi 史少锋
