Skip to content

Commit

Permalink
Change seed node configuration in master system to use same host and…
Browse files Browse the repository at this point in the history
… port as master node
  • Loading branch information
thorsten-papenbrock authored Nov 7, 2019
1 parent 6391205 commit bd46ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddm-pc/src/main/java/de/hpi/ddm/MasterSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void start() {
"akka.remote.artery.canonical.hostname = \"" + c.getHost() + "\"\n" +
"akka.remote.artery.canonical.port = " + c.getPort() + "\n" +
"akka.cluster.roles = [" + MASTER_ROLE + "]\n" +
"akka.cluster.seed-nodes = [\"akka://" + c.getActorSystemName() + "@" + c.getMasterHost() + ":" + c.getMasterPort() + "\"]")
"akka.cluster.seed-nodes = [\"akka://" + c.getActorSystemName() + "@" + c.getHost() + ":" + c.getPort() + "\"]")
.withFallback(ConfigFactory.load("application"));

final ActorSystem system = ActorSystem.create(c.getActorSystemName(), config);
Expand Down

0 comments on commit bd46ff7

Please # to comment.