Installing and Upgrading Spark
To see which version of Spark is shipping in the current release, check the CDH Version and Packaging Information. For important information, see the CDH 5 Release Notes, in particular:
To install or upgrade the Spark packages on a RHEL-compatible system:
$ sudo yum install spark-core spark-master spark-worker spark-history-server spark-python
To install or upgrade the Spark packages on a SLES system:
$ sudo zypper install spark-core spark-master spark-worker spark-history-server spark-python
To install or upgrade the Spark packages on an Ubuntu or Debian system:
$ sudo apt-get install spark-core spark-master spark-worker spark-history-server spark-python
You are now ready to configure Spark. See the next section.