Skip to content

Commit

Permalink
Use more specific service name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Aug 6, 2014
1 parent 4e98236 commit f644b55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/scala/org/apache/spark/SparkEnv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ object SparkEnv extends Logging {
}

val securityManager = new SecurityManager(conf)

val (actorSystem, boundPort) = AkkaUtils.createActorSystem("spark", hostname, port, conf = conf,
securityManager = securityManager)
val actorSystemName = if (isDriver) "driver actor" else "executor actor"
val (actorSystem, boundPort) = AkkaUtils.createActorSystem(
actorSystemName, hostname, port, conf, securityManager)

// Figure out which port Akka actually bound to in case the original port is 0 or occupied.
// This is so that we tell the executors the correct port to connect to.
Expand Down

0 comments on commit f644b55

Please sign in to comment.