}
}
personalG = system.actorOf(Props.create(Guard.class, masterUrl), "guard");
scheduler = system.actorOf(Props.create(JobScheduler.class, this), "scheduler");
scheduler.tell(new CheckSchedule(), ActorRef.noSender());
hostAddress += ":" + port;
if (hostAddress.equals(masterUrl)) {
System.out.println("I'm Master!");
DistributedUtils.initHttpPort();
personalG.tell(new RestartNode(), ActorRef.noSender());