[ 
https://issues.apache.org/jira/browse/GOBBLIN-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hung Tran resolved GOBBLIN-359.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0

Issue resolved by pull request #2241
[https://github.com/apache/incubator-gobblin/pull/2241]

> Logged Job/Task info from TaskExecutor threads sometimes does not match the 
> task running
> ----------------------------------------------------------------------------------------
>
>                 Key: GOBBLIN-359
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-359
>             Project: Apache Gobblin
>          Issue Type: Bug
>            Reporter: Joel Baranick
>            Assignee: Joel Baranick
>             Fix For: 0.13.0
>
>
> In some cases the job/task information that is stored in the MDC to improve 
> logging doesn't match the actual task being run on a given thread.  It seems 
> as if the MDC contents are not always being managed in a way that ensures 
> that when a task is complete the MDC data is cleared.
> One place I noticed was in {{TaskExecutor}}, where {{this.taskExecutor}} and 
> {{this.forkExecutor}} are not wrapped with 
> {{ExecutorUtils.loggingDecorator}}.  {{ExecutorUtils.loggingDecorator}} 
> ensures that submitted {{Runnable}} and {{Callable}} instances first clone 
> the MDC and finally reset the MDC.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to