[ 
https://issues.apache.org/jira/browse/KYLIN-3176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy Liu closed KYLIN-3176.
----------------------------

> NoClassDefFoundError for Derby library on EMR 5.8
> -------------------------------------------------
>
>                 Key: KYLIN-3176
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3176
>             Project: Kylin
>          Issue Type: Bug
>          Components: Environment 
>    Affects Versions: v2.3.0
>         Environment: hive 2.2.0
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>            Priority: Major
>         Attachments: 0001-KYLIN-3176.patch
>
>
> org.apache.catalina.LifecycleException: Failed to initialize component 
> [StandardServer[9005]]
>  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
>  at org.apache.catalina.startup.Catalina.load(Catalina.java:643)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>  at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
>  Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
> org.apache.derby.jdbc.AutoloadedDriver40
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Class.java:278)
>  at java.sql.DriverManager.isDriverAllowed(DriverManager.java:463)
>  at java.sql.DriverManager.isDriverAllowed(DriverManager.java:455)
>  at java.sql.DriverManager.getDrivers(DriverManager.java:356)
>  at 
> org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:288)
>  at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>  at 
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>  at 
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:388)
>  at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>  ... 14 more
>  
>  
>  
> Exclude hive's derbyclient-10.11.1.1.jar from Kylin's classpath will solve 
> the problem



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to