praveenece created KYLIN-3409:
---------------------------------

             Summary: write metric error  when i hit query.
                 Key: KYLIN-3409
                 URL: https://issues.apache.org/jira/browse/KYLIN-3409
             Project: Kylin
          Issue Type: Bug
            Reporter: praveenece


Hi,
  I hit query(using sub query) against Cube  the below exception is coming in 
kylin log 
but kylin UI response output.
why its coming?

2018-06-13 17:15:51,153 WARN  [Query 707b91e9-bcaa-46ef-be66-e7b74a3442d0-69] 
service.QueryService:471 : Write metric error.
java.lang.NullPointerException
        at 
org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:125)
        at 
org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetrics(QueryMetricsFacade.java:73)
        at 
org.apache.kylin.rest.service.QueryService.recordMetric(QueryService.java:560)
        at 
org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:469)
        at 
org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:390)
        at 
org.apache.kylin.rest.controller.QueryController.query(QueryController.java:86)
        at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
        at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
        at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
        at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
        at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)




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

Reply via email to