It seems the result set is null, and there is a bug which didn't handle
this situation. Would you like to report a JIRA to Kylin?

Regarding the dashboard, have you created and build the system cube?

Shrikant Bang <b.shrikan...@gmail.com> 于2018年10月22日周一 上午3:19写道:

> Hi Team,
>
>      Query metrics are not getting updated on "host:7070/kylin/dashboard".
> I found below stack trace regarding query metrics facade in Kylin logs.
>
>       My Kylin version v2.5 with Hbase v1.x. Am I missing something in
> configuration which is causing below error?
>
> 2018-10-21 18:34:41,625 WARN  [Query
> 7b16f84c-3053-f64c-2cd2-4ae5348c295c-121] service.QueryService:421 : Write
> metric error.
> java.lang.NullPointerException
> at
> org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:148)
> at
> org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetrics(QueryMetricsFacade.java:73)
> at
> org.apache.kylin.rest.service.QueryService.recordMetric(QueryService.java:503)
> at
> org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:419)
> at
> org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:351)
> at
> org.apache.kylin.rest.controller.QueryController.query(QueryController.java:86)
> at sun.reflect.GeneratedMethodAccessor253.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)
>
>
> Thank You,
> Shrikant Bang.
>


-- 
Best regards,

Shaofeng Shi 史少锋

Reply via email to