This topic describes how to use package managers to download and install Spark on YARN from the MEP repository.
Spark is distributed as three separate packages:
| Package | Description |
|---|---|
mapr-spark |
Install this package on any node where you want
to install Spark. This package is dependent on the mapr-client,
mapr-hadoop-client, mapr-hadoop-util, and
mapr-librdkafka packages. |
mapr-spark-historyserver |
Install this optional package on Spark History Server nodes. This package is
dependent on the mapr-spark and mapr-core
packages. |
mapr-spark-thriftserver |
Install this optional package on Spark Thrift Server nodes. This package is
available starting in the MEP 4.0
release. It is dependent on the |
To install Spark on YARN (Hadoop 2), execute the following commands as
root or using sudo: