You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/23 13:18:00 UTC

[jira] [Commented] (KYLIN-3409) Write metric error when run a query.

    [ https://issues.apache.org/jira/browse/KYLIN-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002271#comment-17002271 ] 

ASF subversion and git services commented on KYLIN-3409:
--------------------------------------------------------

Commit 7f1679339643983c39c4b1a0fa28f4eb6cb59c45 in kylin's branch refs/heads/master from Alexander Sidorchuk
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=7f16793 ]

KYLIN-3609 KYLIN-3409 KYLIN-4161 CubeSegmentStatisticsMap exist only on OLAPQuery.EnumeratorTypeEnum.OLAP query type. (#942)



> 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
>             Fix For: v2.6.5, v3.1.0
>
>         Attachments: 0001-KYLIN-3609-KYLIN-3409-KYLIN-4161-CubeSegmentStatisti.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)