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-4161) exception in update metrics when
the response is null
[ https://issues.apache.org/jira/browse/KYLIN-4161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002272#comment-17002272 ]
ASF subversion and git services commented on KYLIN-4161:
--------------------------------------------------------
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)
> exception in update metrics when the response is null
> ------------------------------------------------------
>
> Key: KYLIN-4161
> URL: https://issues.apache.org/jira/browse/KYLIN-4161
> Project: Kylin
> Issue Type: Bug
> Reporter: ZhouKang
> Priority: Major
>
> when something error in sql query, the response‘s cube and results is null, which cause an exception.
> {code:java}
> // code placeholder
> service.QueryService:432 : Write metric error.java.lang.NullPointerException at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:158) at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetrics(QueryMetricsFacade.java:77)
> {code}
> {code:java}
> // code placeholder
> service.QueryService:432 : Write metric error.java.lang.NullPointerException at org.apache.kylin.rest.metrics.QueryMetricsFacade.updateMetricsToReservoir(QueryMetricsFacade.java:89)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)