Shaofeng SHI created KYLIN-2342:
-----------------------------------

             Summary: When NoClassDefFoundError occurred in building cube, no 
error in kylin.log
                 Key: KYLIN-2342
                 URL: https://issues.apache.org/jira/browse/KYLIN-2342
             Project: Kylin
          Issue Type: Bug
    Affects Versions: v2.0.0
            Reporter: Shaofeng SHI
            Assignee: Shaofeng SHI
             Fix For: v2.0.0


When some jar is missing in kylin, trigger the cube build will get error, but 
there is no any warn/error message in backend kylin.log; The front web page 
also doesn't provide much message. Finally I get the root cause in the HTTP 
response.

The error should not be exposed to web gui; at least some trace need be left in 
kylin.log:

Below is the error in HTTP response:
{code}

</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError: 
org/apache/spark/api/java/function/Function
        
org.apache.kylin.engine.spark.SparkBatchCubingJobBuilder2.createInMemCubingStep(SparkBatchCubingJobBuilder2.java:52)
        
org.apache.kylin.engine.mr.BatchCubingJobBuilder2.build(BatchCubingJobBuilder2.java:69)
        
org.apache.kylin.engine.spark.SparkBatchCubingEngine2.createBatchCubingJob(SparkBatchCubingEngine2.java:30)
        
org.apache.kylin.engine.EngineFactory.createBatchCubingJob(EngineFactory.java:55)
        org.apache.kylin.rest.service.JobService.submitJob(JobService.java:286)
        
org.apache.kylin.rest.service.JobService$$FastClassBySpringCGLIB$$83a44b2a.invoke(&lt;generated&gt;)
        org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
        
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
        
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to