I'd like to startup an Apache Spark cluster after boot using the following command:
Then run this command when the system prepares to reboot/shutdown:
How can I get started? Is there a basic template I can build on?
I've tried to use an extremely simple (file:
[Unit] Description=Spark service [Service] ExecStart=sudo ./path/to/spark/sbin/start-all.sh
Which doesn't work.