[ https://issues.apache.org/jira/browse/KYLIN-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15584626#comment-15584626 ]
Richard Calaba commented on KYLIN-2104: --------------------------------------- Anyway - this doesn't resolve anything - If I use my own compiled kylin from source-code, after trying to run a Query - I am getting in kylin.log: ==========================[QUERY]=============================== SQL: select ti.business_date_year, ti.business_date_month, sum(pos_netsales) from mdl_pos_item as fact left outer join mdl_timeinfo as ti on ti.business_date = fact.business_date where fact.business_date between '2016-01-01' and '2016-12-31' group by ti.business_date_year, ti.business_date_month order by ti.business_date_year ASC, ti.business_date_month ASC User: ADMIN Success: false Duration: 0.0 Project: jambajuice_3_0 Realization Names: [jambajuice_3_0_MDL_POS_ITEM] Cuboid Ids: [34] Total scan count: 0 Result row count: 0 Accept Partial: true Is Partial Result: false Hit Exception Cache: false Storage cache used: false Message: com/google/protobuf/ByteString ==========================[QUERY]=============================== 2016-10-18 02:23:49,232 ERROR [http-bio-7070-exec-3] controller.BasicController:44 : org.apache.kylin.rest.exception.InternalErrorException: com/google/protobuf/ByteString at org.apache.kylin.rest.controller.QueryController.doQueryWithCache(QueryController.java:224) at org.apache.kylin.rest.controller.QueryController.query(QueryController.java:94) 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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:195) at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:266) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2016-10-18 02:24:22,515 INFO [pool-3-thread-1] threadpool.DefaultScheduler:109 : Job Fetcher: 0 running, 0 actual running, 0 ready, 11 others > loader constraint violation: loader (instance of > org/apache/catalina/loader/WebappClassLoader) previously initiated loading > for a different type with name "com/google/protobuf/ByteString" > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: KYLIN-2104 > URL: https://issues.apache.org/jira/browse/KYLIN-2104 > Project: Kylin > Issue Type: Bug > Affects Versions: v1.5.3 > Environment: MapR 4.1 - Edge node > Reporter: Richard Calaba > Priority: Critical > > Something very odd is with v.1.5.3 compilation & packaging scripts - it seems > that during compilation some req. library is missing or another version is > being used and this is not reported as a compilation error which is causing > issues later in runtime. > On my MapR 4.1 system - EDGE node which has all necessary access rights for > hbase/hive + other packaging tools installed I did this: > 1) Followed the https://kylin.apache.org/development/howto_package.html - > with one exception - from git I am not clonning latest master branch but > specific released Kylin version using tag kylin-1.5.3 > 2) The bin package is compiled successfully without any errors being reported > (I believe test cases are skipped this way - so cannot say test cases run ok) > 3) I then installed the successfully compiled Kylin 1.5.3 from sources and > run Kylin - all seems OK. > 4) I defined and successfully build 2 cubes - no issues during the build > process. (Maybe except the fact that Cube size is reported to be 0 Kb on UI > having approx. 350 million rows processed during Build -> that looks more > like some other bug). > 5) If I go to Insights tab in Kylin UI and run any query which should return > some data (350 mil. rows processed during build) I am getting an error: > a) 1st time I run any query - ERROR: loader constraint violation: loader > (instance of org/apache/catalina/loader/WebappClassLoader) previously > initiated loading for a different type with name > "com/google/protobuf/ByteString" > b) 2nd and later times - ERROR says only "com/google/protobuf/ByteString" > 6) If I STOP the Kylin -> replace the whole binary installation with the > officialy released binary package of Kylin 1.5.3 (for HBase 0.98/0.99) - I > can run my queries without any issue !!!! > The reason why I am reporting this bug on v 1.5.3 and not on latest released > sources 1.5.4.1 is that I have issues to have 1.5.4.1 working - see > https://issues.apache.org/jira/browse/KYLIN-2094 - Bin release fails in step > #3 of the Build process and 1.5.4.1 compiled from sources doesn't work for > me. > All points to some issues with incorrect dependencies being detected during > compilation and/or runtime ... maybe related to Google's Protobuffers ...??? > Anyone has any idea how to debug this problem ?? Basically it makes both > 1.5.3 and 1.5.4.1 not working on my system. > On different system (also MapR 4.1) few months back -> I didn't have those > issues -I was able successfully re-compile sources of 1.5.x versions > including some additional patches relased for them. > Beacuse no errror is reported during the Kylin compilation & packaging > process -> all indicates that there is some strange non-resolved dependency > which was OK on my previous MapR system but is different on my current MapR > system. Could be anything ... > I will try to attach the compiled binary package here so some guru can have a > look and let me know why "successfully" compiled Kylin from sources doesn't > run same as the original BIN release. (BTW my compiled archive is several 30 > MBs larger than the released binary package ...) -- This message was sent by Atlassian JIRA (v6.3.4#6332)