Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 18 additions & 15 deletions docs/running-on-mesos.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,10 @@ require any special patches of Mesos.
If you already have a Mesos cluster running, you can skip this Mesos installation step.

Otherwise, installing Mesos for Spark is no different than installing Mesos for use by other
frameworks. You can install Mesos using either prebuilt packages or by compiling from source.
frameworks. You can install Mesos either from source packages from the Apache Mesos project or from
prebuilt packages from third parties.

## Prebuilt packages

The Apache Mesos project only publishes source package releases, no binary releases. But other
third party projects publish binary releases that may be helpful in setting Mesos up.

One of those is Mesosphere. To install Mesos using the binary releases provided by Mesosphere:

1. Download Mesos installation package from [downloads page](http://mesosphere.io/downloads/)
2. Follow their instructions for installation and configuration

The Mesosphere installation documents suggest setting up ZooKeeper to handle Mesos master failover,
but Mesos can be run without ZooKeeper using a single master as well.

## From source
## From Apache source

To install Mesos directly from the upstream project rather than a third party, install from source.

Expand All @@ -66,6 +54,21 @@ To install Mesos directly from the upstream project rather than a third party, i
`--prefix` option to `configure` to tell it where to install. For example, pass
`--prefix=/home/user/mesos`. By default the prefix is `/usr/local`.


## Prebuilt packages from third parties

The Apache Mesos project currently publishes only source packages, no binary releases. But other
third-party projects publish binary releases that may be helpful in setting Mesos up.

One of those is Mesosphere. To install Mesos using the binary releases provided by Mesosphere:

1. Download Mesos installation package from [downloads page](http://mesosphere.io/downloads/)
2. Follow their instructions for installation and configuration

The Mesosphere installation documents suggest setting up ZooKeeper to handle Mesos master failover,
but Mesos can be run without ZooKeeper using a single master as well.


## Verification

To verify that the Mesos cluster is ready for Spark, navigate to the Mesos master webui at port
Expand Down