postStop() is called when actor is stopped or restarted due to Exceptions *
postStop() is called when actor is stopped or restarted due to Exceptions *
preRestart() is called when actor is killed due to exception, and will be restarted.
preRestart() is called when actor is killed due to exception, and will be restarted. It is run on the current actor instance that is about to be killed. We just log errors. The super (original) method should call postStop() and shut down children as well.
Stackable traits should override and call super.receive(x) for stacking functionality
Stackable traits should override and call super.receive(x) for stacking functionality
Actor classes should implement this partialFunction for standard actor message handling
Actor classes should implement this partialFunction for standard actor message handling
The AkkaClusterSupervisorActor launches Spark Contexts as external processes that connect back with the master node via Akka Cluster.
Currently, when the Supervisor gets a MemberUp message from another actor, it is assumed to be one starting up, and it will be asked to identify itself, and then the Supervisor will try to initialize it.
See the LocalContextSupervisorActor for normal config options. Here are ones specific to this class.
Configuration
deploy { manager-start-cmd = "./manager_start.sh" }