igreenfield commented on a change in pull request #26624:
URL: https://github.com/apache/spark/pull/26624#discussion_r422903805
##########
File path: core/src/main/scala/org/apache/spark/util/ThreadUtils.scala
##########
@@ -130,7 +224,15 @@ private[spark] object ThreadUtils {
*/
def newDaemonCachedThreadPool(prefix: String): ThreadPoolExecutor = {
Review comment:
My code just set the MDC and the only way to pass MDC between
ThreadPools is the code I add to the ThreadUtils.
the executor creates threads pool, so in order that all logs of the executor
will have the MDC populated you need that change.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]