Skip to content

Commit 2551eb2

Browse files
committed
Remove spark.worker.watcher.port
1 parent 151327a commit 2551eb2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/scala/org/apache/spark/deploy/worker/DriverWrapper.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ object DriverWrapper {
3030
args.toList match {
3131
case workerUrl :: mainClass :: extraArgs =>
3232
val conf = new SparkConf()
33-
val watcherPort = conf.getInt("spark.worker.watcher.port", 0) // TODO: document this
3433
val (actorSystem, _) = AkkaUtils.createActorSystem("Driver",
35-
Utils.localHostName(), watcherPort, conf, new SecurityManager(conf))
34+
Utils.localHostName(), 0, conf, new SecurityManager(conf))
3635
actorSystem.actorOf(Props(classOf[WorkerWatcher], workerUrl), name = "workerWatcher")
3736

3837
// Delegate to supplied main class

0 commit comments

Comments
 (0)