Apache Spark

I was wondering if someone has managed to snap Apache Spark? I found instructions for how to install it on Ubuntu and I would love to have a snap that allows me to run it as a daemon.

Not Spark, but I’ve been working on packaging for an Apache Kafka snap, which you might find useful as a template. It builds Kafka from source at a release tag, and sets up daemons and wrappers.

A Zookeeper daemon is included by default so that it works out of the box on a single node install, but can be disabled with systemctl and Kafka configured to use an external zookeeper if necessary.

If Spark’s build process and launch scripts are similar, you might be able to get ideas from the snapcraft.yaml and wrappers.