This section includes instructions to download and install Apache Spark on Apache Mesos.
Spark 2.1.0 runs with Apache Mesos 1.0.0 or later. You do not need to apply any special patches of Mesos. If you are already running a Mesos cluster, you can skip this topic.
cd /path/to/mesos
sudo chown -R mapr:mapr /path/to/mesos