Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/6223#discussion_r30476758
--- Diff: core/src/main/scala/org/apache/spark/rdd/AsyncRDDActions.scala ---
@@ -123,3 +127,8 @@ class AsyncRDDActions[T: ClassTag](self: RDD[T])
extends Serializable with Loggi
(index, data) => Unit, Unit)
}
}
+
+private object AsyncRDDActions {
+ val futureExecutionContext = ExecutionContext.fromExecutorService(
+ ThreadUtils.newDaemonCachedThreadPool("AsyncRDDActions-future", 1024))
--- End diff --
is 1024 too high? In reality, I wonder if we are going to hit this high
number of threads.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]