We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97523e0 commit 78a2c0aCopy full SHA for 78a2c0a
core/src/main/scala/org/apache/spark/deploy/client/AppClient.scala
@@ -195,8 +195,7 @@ private[spark] class AppClient(
195
try {
196
val timeout = RpcUtils.askTimeout(conf)
197
val future = actor.ask(StopAppClient)(timeout.duration)
198
- // TODO(bryanc) - RpcTimeout use awaitResult ???
199
- Await.result(future, timeout.duration)
+ timeout.awaitResult(future)
200
} catch {
201
case e: TimeoutException =>
202
logInfo("Stop request to Master timed out; it may already be shut down.")
0 commit comments