kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-3409) Write metric error when run a query.
Date Fri, 14 Sep 2018 01:58:00 GMT

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

Shaofeng SHI updated KYLIN-3409:
--------------------------------
    Fix Version/s: v2.6.0
          Summary: Write metric error when run a query.  (was: write metric error  when i
hit query.)

> Write metric error when run a query.
> ------------------------------------
>
>                 Key: KYLIN-3409
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3409
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: praveenece
>            Priority: Major
>             Fix For: v2.6.0
>
>
> 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)

Mime
View raw message