зеркало из https://github.com/microsoft/spark.git
Fix wrong counting
This commit is contained in:
Родитель
93fe331e6d
Коммит
a367c20f49
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче