tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TEZ-4039) Tez should inject dag id, query id into MDC
Date Tue, 12 Feb 2019 02:55:00 GMT
Prasanth Jayachandran created TEZ-4039:

             Summary: Tez should inject dag id, query id into MDC
                 Key: TEZ-4039
                 URL: https://issues.apache.org/jira/browse/TEZ-4039
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.9.next
            Reporter: Prasanth Jayachandran

Tez currently uses CallableWithNdc to store thread specific context. It should also inject
the context into MDC so that pattern layout can dump the contexts from MDC (with NDC it is
not possible to read the context in pattern lyaout).

Hive for example, sets queryId in the MDC and pattern layout prints the queryId

%d{ISO8601} %-5p [%t (%X{queryId})] %c{2}: %m%n
Llap sets dagId, fragmentId and queryId into MDC which is used for queryId based routing of

Similarly, Tez AM should set dagId and queryId (if available) into MDC. 

This message was sent by Atlassian JIRA

View raw message