[ https://issues.apache.org/jira/browse/KYLIN-2105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15587731#comment-15587731 ]
liyang commented on KYLIN-2105: ------------------------------- One minor thing, we try to avoid use spring configuration as much as possible. All kylin configuration should go to {{kylin.properties}} whenever possible. > add QueryId > ----------- > > Key: KYLIN-2105 > URL: https://issues.apache.org/jira/browse/KYLIN-2105 > Project: Kylin > Issue Type: Sub-task > Components: Query Engine, Storage - HBase > Affects Versions: v1.6.0 > Reporter: Dayue Gao > Assignee: Dayue Gao > Labels: patch > Fix For: v1.6.0 > > > * for each query, generate an unique id. > * the id could describe some context information about the query, like start > time, project name, etc. > * for query thread, we could use query id as the name of the thread. As long > as user logs thread's name, he can grep query log by query id afterwards. > * pass query id to coprocessor, so that query id gets logged both in query > server and region server. > * BadQueryDetector should also log query id -- This message was sent by Atlassian JIRA (v6.3.4#6332)