HeartSaVioR commented on a change in pull request #24122: [MINOR][CORE] Add
comment about reasoning to use deprecated Scala ForkJoinPool
URL: https://github.com/apache/spark/pull/24122#discussion_r266309491
##########
File path: core/src/main/scala/org/apache/spark/rdd/UnionRDD.scala
##########
@@ -61,7 +60,7 @@ private[spark] class UnionPartition[T: ClassTag](
object UnionRDD {
private[spark] lazy val partitionEvalTaskSupport =
- new ForkJoinTaskSupport(new ForkJoinPool(8))
+ new
ForkJoinTaskSupport(ThreadUtils.newForkJoinPool("partition-eval-task-support",
8))
Review comment:
This is from review comment in #24113 which makes sense and also helps to
centralize dealing with deprecated Scala ForkJoinPool.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]