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 49f9f04 commit 23d2f26Copy full SHA for 23d2f26
core/src/main/scala/org/apache/spark/rpc/RpcEnv.scala
@@ -97,7 +97,7 @@ private[spark] abstract class RpcEnv(conf: SparkConf) {
97
* Retrieve the [[RpcEndpointRef]] represented by `uri`. This is a blocking action.
98
*/
99
def setupEndpointRefByURI(uri: String): RpcEndpointRef = {
100
- Await.result(asyncSetupEndpointRefByURI(uri), defaultLookupTimeout.duration)
+ defaultLookupTimeout.awaitResult(asyncSetupEndpointRefByURI(uri))
101
}
102
103
/**
0 commit comments