Skip to content

Commit c8c6a62

Browse files
committed
Do not include hyphens in actor name
Hopefully this allows the tests to run succesfully...
1 parent 1c1b42e commit c8c6a62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/SparkEnv.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ object SparkEnv extends Logging {
146146
}
147147

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

core/src/main/scala/org/apache/spark/util/AkkaUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private[spark] object AkkaUtils extends Logging {
5353
val startService: Int => (ActorSystem, Int) = { actualPort =>
5454
doCreateActorSystem(name, host, actualPort, conf, securityManager)
5555
}
56-
Utils.startServiceOnPort(port, startService, name.replaceAll("-", " "))
56+
Utils.startServiceOnPort(port, startService, name)
5757
}
5858

5959
private def doCreateActorSystem(

0 commit comments

Comments
 (0)