cloud-fan commented on a change in pull request #26624:
URL: https://github.com/apache/spark/pull/26624#discussion_r427024406
##########
File path: core/src/main/scala/org/apache/spark/util/ThreadUtils.scala
##########
@@ -133,6 +133,14 @@ private[spark] object ThreadUtils {
Executors.newCachedThreadPool(threadFactory).asInstanceOf[ThreadPoolExecutor]
}
+ /**
+ * Wrapper over newCachedThreadPool. Thread names are formatted as
prefix-ID, where ID is a
Review comment:
This doesn't really have a prefix in the name. Can we inline this
method? It's only called once, and the change itself is not related to the MDC
stuff
----------------------------------------------------------------
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]