Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/9317#discussion_r43806728
--- Diff:
core/src/main/scala/org/apache/spark/deploy/client/AppClient.scala ---
@@ -208,13 +218,28 @@ private[spark] class AppClient(
case k: KillExecutors =>
master match {
- case Some(m) => context.reply(m.askWithRetry[Boolean](k))
+ case Some(m) => receiveAndReplyAsync(m, context, k)
case None =>
logWarning("Attempted to kill executors before registering
with Master.")
context.reply(false)
}
}
+ private def receiveAndReplyAsync[T](masterRef: RpcEndpointRef,
context: RpcCallContext,
+ msg: T): Unit = {
--- End diff --
nit: indention. The correct indention is:
```
private def receiveAndReplyAsync[T](
masterRef: RpcEndpointRef, context: RpcCallContext, msg: T): Unit =
{
```
---
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]