laglangyue commented on code in PR #43526:
URL: https://github.com/apache/spark/pull/43526#discussion_r1384645156
##########
resource-managers/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnSchedulerBackend.scala:
##########
@@ -64,15 +64,15 @@ private[spark] abstract class YarnSchedulerBackend(
private val yarnSchedulerEndpointRef = rpcEnv.setupEndpoint(
YarnSchedulerBackend.ENDPOINT_NAME, yarnSchedulerEndpoint)
- private implicit val askTimeout = RpcUtils.askRpcTimeout(sc.conf)
+ private implicit val askTimeout: Any = RpcUtils.askRpcTimeout(sc.conf)
/**
* Declare implicit single thread execution context for futures
doRequestTotalExecutors and
* doKillExecutors below, avoiding using the global execution context that
may cause conflict
* with user code's execution of futures.
*/
- private implicit val schedulerEndpointEC =
ExecutionContext.fromExecutorService(
- ThreadUtils.newDaemonSingleThreadExecutor("yarn-scheduler-endpoint"))
+ private implicit val schedulerEndpointEC: ExecutionContextExecutorService =
ExecutionContext
Review Comment:
yes,done
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]