Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/9210#discussion_r42832803
--- Diff: core/src/main/scala/org/apache/spark/rpc/netty/NettyRpcEnv.scala
---
@@ -184,8 +184,14 @@ private[netty] class NettyRpcEnv(
// `createClient` will block if it cannot find a known connection,
so we should run it in
// clientConnectionExecutor
clientConnectionExecutor.execute(new Runnable {
- override def run(): Unit = {
- val client = clientFactory.createClient(remoteAddr.host,
remoteAddr.port)
+ override def run(): Unit = Utils.tryLogNonFatalError {
+ val client = try {
+ getTransportClient(message.receiver)
--- End diff --
I generally indent things like this when initializing variables. I can
change it though.
---
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]