Skip to content

Commit

Permalink
Do not include hyphens in actor name
Browse files Browse the repository at this point in the history
Hopefully this allows the tests to run succesfully...
  • Loading branch information
andrewor14 committed Aug 8, 2014
1 parent 1c1b42e commit c8c6a62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/SparkEnv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ object SparkEnv extends Logging {
}

val securityManager = new SecurityManager(conf)
val actorSystemName = if (isDriver) "driver-actor" else "executor-actor"
val actorSystemName = if (isDriver) "driverActor" else "executorActor"
val (actorSystem, boundPort) = AkkaUtils.createActorSystem(
actorSystemName, hostname, port, conf, securityManager)

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/util/AkkaUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private[spark] object AkkaUtils extends Logging {
val startService: Int => (ActorSystem, Int) = { actualPort =>
doCreateActorSystem(name, host, actualPort, conf, securityManager)
}
Utils.startServiceOnPort(port, startService, name.replaceAll("-", " "))
Utils.startServiceOnPort(port, startService, name)
}

private def doCreateActorSystem(
Expand Down

0 comments on commit c8c6a62

Please sign in to comment.