You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2021/01/05 13:59:29 UTC

[GitHub] [kylin] hit-lacus commented on pull request #1538: KYLIN-4857 Refactor system cube for kylin4

hit-lacus commented on pull request #1538:
URL: https://github.com/apache/kylin/pull/1538#issuecomment-754652429


   Following is my suggestion:
   
   You are using event flow : SparderMetricsListener  -> QueryService -> MetricsSystem, I think it is OK if you send MetricsEvent direct to MetricsSystem : SparderMetricsListener  -> MetricsSystem.
   
   In the previous implementation, when a query is finished, all metrics data are collected because query and metrics collection are in the same thread. But in the new implementation, SparkListener and QueryService are not in the same thread, so the order is not guaranteed .


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org