You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2021/04/27 02:39:02 UTC

[jira] [Closed] (KYLIN-4929) Skip metrics update for simple queries to avoid NPE warnings

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

Xiaoxiang Yu closed KYLIN-4929.
-------------------------------

Released at kylin 3.1.2

> Skip metrics update for simple queries to avoid NPE warnings
> ------------------------------------------------------------
>
>                 Key: KYLIN-4929
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4929
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Metrics
>            Reporter: Congling Xia
>            Assignee: Congling Xia
>            Priority: Minor
>             Fix For: v3.1.2
>
>
> Users may use simple queries like 'select 1' to check the availability of kylin service. No realization is needed for such queries. Metric system will raise NullPointerException when trying to get the name of the realization.
> It does not cause the query to fail, but prints a lot of annoying warning logs with stack-traces.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)