kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jins George <jins.geo...@aeris.net>
Subject Error in setting up Streaming Table
Date Thu, 31 Mar 2016 05:31:11 GMT
Hello,

I am trying to add a streaming table and running into error. From the 
first Screen, I enter example  JSON and it shows the table defenition, 
but on final submit I am getting an error but not much details.


If I submit again, it gives following error





On looking at the logs, I see below exception. Did anyone face this 
issue or is there any workaround ?

Thanks,
Jins George

/2016-03-31 00:32:10,310 INFO  [http-bio-7070-exec-8] 
service.CacheService:169 : rebuild cache type: TABLE 
name:DEFAULT.CALAMP_LM2//
//2016-03-31 00:32:10,311 WARN  [http-bio-7070-exec-8] 
metadata.MetadataManager:238 : Failed to get table exd info from 
/table_exd/DEFAULT.CALAMP_LM2.json//
//2016-03-31 00:32:10,324 INFO  [http-bio-7070-exec-9] 
controller.CacheController:64 : wipe cache type: PROJECT event:UPDATE 
name:Aercloud//
//2016-03-31 00:32:10,324 INFO  [http-bio-7070-exec-9] 
service.CacheService:169 : rebuild cache type: PROJECT name:Aercloud//
//2016-03-31 00:32:10,327 INFO  [http-bio-7070-exec-9] 
service.CacheService:122 : removeOLAPDataSource is called for project 
Aercloud//
//2016-03-31 00:32:10,333 INFO  [http-bio-7070-exec-10] 
controller.CacheController:64 : wipe cache type: STREAMING event:CREATE 
name:calamp_lm2//
//2016-03-31 00:32:10,333 INFO  [http-bio-7070-exec-10] 
service.CacheService:169 : rebuild cache type: STREAMING name:calamp_lm2//
//2016-03-31 00:32:10,335 ERROR [http-bio-7070-exec-10] 
controller.BasicController:44 : //
//java.lang.NullPointerException//
//    at 
org.apache.kylin.engine.streaming.StreamingManager.loadStreamingConfigAt(StreamingManager.java:210)//
//    at 
org.apache.kylin.engine.streaming.StreamingManager.reloadStreamingConfigLocal(StreamingManager.java:140)//
//    at 
org.apache.kylin.rest.service.CacheService.rebuildCache(CacheService.java:176)//
//    at 
org.apache.kylin.rest.controller.CacheController.wipeCache(CacheController.java:69)//
//    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.doPut(FrameworkServlet.java:800)//
//    at javax.servlet.http.HttpServlet.service(HttpServlet.java:649)//
//    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)//
//    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:150)//
//    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:205)//
//    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:504)//
//    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)//
//    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)//
//    at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)//
//    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)//
//    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)//
//    at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)//
//    at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)//
//    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-03-31 00:32:10,347 INFO  [http-bio-7070-exec-1] 
controller.CacheController:64 : wipe cache type: STREAMING event:DROP 
name:calamp_lm2//
//2016-03-31 00:32:10,347 ERROR [http-bio-7070-exec-1] 
controller.BasicController:44 : //
//java.lang.RuntimeException: invalid cacheType:STREAMING//
//    at 
org.apache.kylin.rest.service.CacheService.removeCache(CacheService.java:267)//
//    at 
org.apache.kylin.rest.controller.CacheController.wipeCache(CacheController.java:72)//
//    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.doPut(FrameworkServlet.java:800)//
//    at javax.servlet.http.HttpServlet.service(HttpServlet.java:649)//
//    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)//
//    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:150)//
//    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:205)//
//    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:504)//
//    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)//
//    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)//
//    at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)//
//    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)//
//    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)//
//    at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)//
//    at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)//
//    at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)//
//    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)//
/

Mime
View raw message