Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4929

Skip metrics update for simple queries to avoid NPE warnings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v3.1.2
    • Metrics
    • None

    Description

      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.

      Attachments

        Activity

          People

            xiacongling Congling Xia
            xiacongling Congling Xia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: