Dayue Gao created KYLIN-2105:

             Summary: add QueryId
                 Key: KYLIN-2105
             Project: Kylin
          Issue Type: Sub-task
          Components: Query Engine, Storage - HBase
    Affects Versions: v1.6.0
            Reporter: Dayue Gao
            Assignee: Dayue Gao
             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

Reply via email to