Skip to content
Snippets Groups Projects
Commit babbca0a authored by Denny's avatar Denny
Browse files

Fix wrong counting

parent 9326509f
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class LocalSparkCluster(numSlaves : Int, coresPerSlave : Int,
})
/* Start the Slaves */
(1 to numSlaves + 1).foreach { slaveNum =>
(1 to numSlaves).foreach { slaveNum =>
val (actorSystem, boundPort) =
AkkaUtils.createActorSystem("sparkWorker" + slaveNum, localIpAddress, 0)
threadPool.execute(new Runnable {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment