You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Raghu Ram Reddy Medapati <ra...@gmail.com> on 2020/02/07 01:29:47 UTC

Kylin start up failing on EMR 5.28

I've setup kylin on EMR edge node, when i try to start the service, i get the below error.
Kylin -->Latest (3.0)
EMR --> 5.28
ERROR [localhost-startStop-1] org.springframework.web.context.ContextLoader - 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.ClassCastException: com.fasterxml.jackson.datatype.joda.JodaModule cannot be cast to com.fasterxml.jackson.databind.Module
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1155) ~[spring-beans-4


Re: Kylin start up failing on EMR 5.28

Posted by weibin zhu <co...@126.com>.
The cause of the error is a jar version conflict, and you can use `mvn dependency:tree` to see the specific conflict.
In addition, it seems that the error is not posted completely. Can you post a complete error message?

----------------------------------------
weibin0516          

codingforfun@126.com
http://rrd.me/fT6RW
----------------------------------------

> 在 2020年2月7日,上午9:29,Raghu Ram Reddy Medapati <ra...@gmail.com> 写道:
> 
> I've setup kylin on EMR edge node, when i try to start the service, i get the below error.
> Kylin -->Latest (3.0)
> EMR --> 5.28
> ERROR [localhost-startStop-1] org.springframework.web.context.ContextLoader - 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.ClassCastException: com.fasterxml.jackson.datatype.joda.JodaModule cannot be cast to com.fasterxml.jackson.databind.Module
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1155) ~[spring-beans-4


Re:Kylin start up failing on EMR 5.28

Posted by Xiaoxiang Yu <xx...@apache.org>.
Dear friend,
    If I make no mistake, it looks like you faced two problem. 
    The first one you are facing is how to set up kylin in single EMR cluster, I have tested it last month, I think http://kylin.apache.org/docs31/install/kylin_aws_emr.html and  https://github.com/hit-lacus/hit-lacus.github.io/issues/81 may help you solve your problem.  The second one is about R/W separated deployment, in this case, could you please show us how you configure in your kylin.properties? I will have a test when I have some free time.
   






--

Best wishes to you ! 
From :Xiaoxiang Yu



At 2020-02-09 11:55:44, "Raghu Ram Reddy Medapati" <ra...@gmail.com> wrote:
>I've setup kylin on EMR edge node, when i try to start the service, i get the below error.
>Kylin -->Latest (3.0)
>EMR --> 5.28
>ERROR [localhost-startStop-1] org.springframework.web.context.ContextLoader - 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.ClassCastException: com.fasterxml.jackson.datatype.joda.JodaModule cannot be cast to com.fasterxml.jackson.databind.Module
>	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1155) ~[spring-beans-4