Skip to content

Commit

Permalink
[SPARK-4837] NettyBlockTransferService should use spark.blockManager.…
Browse files Browse the repository at this point in the history
…port config
  • Loading branch information
aarondav committed Dec 13, 2014
1 parent ef84dab commit ebd2007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class NettyBlockTransferService(conf: SparkConf, securityManager: SecurityManage
}
transportContext = new TransportContext(transportConf, rpcHandler)
clientFactory = transportContext.createClientFactory(bootstrap.toList)
server = transportContext.createServer()
server = transportContext.createServer(conf.getInt("spark.blockManager.port", 0))
appId = conf.getAppId
logInfo("Server created on " + server.getPort)
}
Expand Down

0 comments on commit ebd2007

Please sign in to comment.