Skip to content

Commit 3c2d6ed

Browse files
committed
Oops, never do it.
1 parent a5d9432 commit 3c2d6ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/deploy/LocalSparkCluster.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class LocalSparkCluster(
5050
// Disable REST server on Master in this mode unless otherwise specified
5151
val _conf = conf.clone()
5252
.setIfMissing("spark.master.rest.enabled", "false")
53-
.setIfMissing("spark.shuffle.service.enabled", "false")
53+
.set("spark.shuffle.service.enabled", "false")
5454

5555
/* Start the Master */
5656
val (masterSystem, masterPort, _, _) = Master.startSystemAndActor(localHostname, 0, 0, _conf)

core/src/main/scala/org/apache/spark/network/netty/NettyBlockTransferService.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class NettyBlockTransferService(conf: SparkConf, securityManager: SecurityManage
5858
securityManager.isSaslEncryptionEnabled()))
5959
}
6060
transportContext = new TransportContext(transportConf, rpcHandler)
61-
clientFactory = transportContext.createClientFactory(bootstrap.toList)
61+
clientFactory = transportContext.createClientFactory(clientBootstrap.toList)
6262
server = createServer(serverBootstrap.toList)
6363
appId = conf.getAppId
6464
logInfo("Server created on " + server.getPort)

0 commit comments

Comments
 (0)