igreenfield commented on a change in pull request #26624: URL: https://github.com/apache/spark/pull/26624#discussion_r420580995
########## File path: core/src/main/scala/org/apache/spark/util/ThreadUtils.scala ########## @@ -157,23 +259,23 @@ private[spark] object ThreadUtils { */ def newDaemonFixedThreadPool(nThreads: Int, prefix: String): ThreadPoolExecutor = { val threadFactory = namedThreadFactory(prefix) - Executors.newFixedThreadPool(nThreads, threadFactory).asInstanceOf[ThreadPoolExecutor] + MDCAwareThreadPoolExecutor.newFixedThreadPool(nThreads, threadFactory) Review comment: 1. What do you mean can get MDS properties? we can always get them do you mean set? for now it is not used but later it great you can set trace data in MDC and get it in logs. 2. It will be great to add MDC data for the driver also. I will create new PR for that after that one will be merged. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org