Is it possible to execute a command on all workers within Apache Spark?
<p>I have a situation where I want to execute a system process on each worker within Spark.  I want this process to be run an each machine once.  Specifically this process starts a daemon which is required to be running before the rest of my program executes.  Ideally this should execute before I've read any data in.</p>

<p>I'm on Spark 2.0.2 and using dynamic allocation.</p>