You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Alexander (Jira)" <ji...@apache.org> on 2019/11/15 04:31:00 UTC
[jira] [Updated] (KYLIN-3409) Write metric error when run a query.
[ https://issues.apache.org/jira/browse/KYLIN-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander updated KYLIN-3409:
-----------------------------
Attachment: 0001-KYLIN-3609-KYLIN-3409-KYLIN-4161.patch
> 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
> Assignee: Alexander
> Priority: Major
> Attachments: 0001-KYLIN-3609-KYLIN-3409-KYLIN-4161.patch
>
>
> 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
(v8.3.4#803005)