Skip to content

Commit

Permalink
Make Spark's block manager port configurable
Browse files Browse the repository at this point in the history
spark.blockManager.port
  • Loading branch information
ash211 committed Jul 25, 2014
1 parent 17c79bb commit b80d2fd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ private[spark] class BlockManager(
val shuffleBlockManager = new ShuffleBlockManager(this)
val diskBlockManager = new DiskBlockManager(shuffleBlockManager,
conf.get("spark.local.dir", System.getProperty("java.io.tmpdir")))
val connectionManager = new ConnectionManager(0, conf, securityManager)
val connectionManager = new ConnectionManager(conf.getInt("spark.blockManager.port", 0), conf,
securityManager)

implicit val futureExecContext = connectionManager.futureExecContext

Expand Down

0 comments on commit b80d2fd

Please sign in to comment.