This guide assumes you are running as root or user has sudo access.

1. Download Ambari 2.1.0
RHEL6 and x86_64 – Download
RHEL7 and x86_64 – Download
RHEL7 and ppc64le – Download

2. Download IOP-4.1 w/ Spark 1.5.1
RHEL6 and x86_64 – Download
RHEL7 and x86_64 – Download
RHEL7 and ppc64le – Download

2. Create your local repository directory to be used to serve the RPMs

mkdir -p /var/www/repos

3. Extract the Directory Structure/RPMs from the BOTH the Ambari and the IOP tarballs to the local repository directory
NOTE: Your filenames will be different depending on which tarballs you downloaded in Step 1.

tar -zxvf [FILENAMES OF TARBALLS IN STEP 1] -C /var/www/repos

Example : tar -zxvf IOP-4.1-Spark-1.5.1-20151210_1028.el6.x86_64.tar.gz -C /var/www/repos

4. Refresh the Metadata for the Yum utility
NOTE: May need to install the createrepo utility if not installed already

yum install createrepo

Run the following command afterwards:
NOTE: Change RHEL6 and x86_64 in the command to reflect the correct Operating System and Architecture Tarball you downloaded in Step 1.
e.g RHEL6=Red Hat v6, RHEL7=Red Hat v7, x84_64=64 bit X/Intel, ppc64le=Power 64-bit Little Endian

createrepo /var/www/repos/IOP/RHEL6/x86_64/4.1-Spark-1.5.1
createrepo /var/www/repos/Ambari/rhel/6/x86_64/2.1.x/Updates/2.1.0_Spark-1.5.1

5. Install Apache Web Server

yum install httpd

6. Edit the Apache configuration file

vi /etc/httpd/conf/httpd.conf

Edit the DocumentRoot and Directory to “/var/www”

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot “/var/www/”
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# First, we configure the “default” to be a very restrictive set of
# features.
Options FollowSymLinks
AllowOverride None
# Note that from this point forward you must specifically allow
# particular features to be enabled – so if something’s not working as
# you might expect, make sure that you have specifically enabled it
# below.
# This should be changed to whatever you set DocumentRoot to.
Directory “/var/www/”

Save the configuration file and exit.

7. Start Apache

service httpd start

8. In a browser, navigate to the web server URL to verify that the RPMs are available.


9. Copy the ambari.repo definition file to the local YUM utility definition directory.

cp /var/www/repos/Ambari/rhel/6/x86_64/2.1.x/Updates/2.1.0_Spark-1.5.1/ambari.repo /etc/yum.repos.d/

10. Edit the ambari.repo definition file to point to the newly created repository.

vi /etc/yum.repos.d/ambari.repo

Change both the baseurl and the gpgkey parameters to the following:


11. Clean your YUM utility cache

yum clean all

12. Install IBM Open Platform as directed per the Knowledge Center
NOTE: START on Step (5) …but STOP when you reach Step (14) in the following link, and continue with this guide
IBM Knowledge Center : Ambari Installation

13. In the Launch Wizard, the page after naming your cluster, click on the Advanced Repository Options and modify the “IOP-4.1″ URL to the newly created Apache repository


14. Proceed with the rest of the installation as normal with Step 15 in the Knowledge Center Guide. Ambari should now pick up the IOP stack w/Spark 1.5.1 from the local repository we just created.

1 comment on"How To: Install IBM Open Platform 4.1 with Spark 1.5.1"

Join The Discussion

Your email address will not be published. Required fields are marked *