Book Image

OpenStack Sahara Essentials

By : Omar Khedher
Book Image

OpenStack Sahara Essentials

By: Omar Khedher

Overview of this book

The Sahara project is a module that aims to simplify the building of data processing capabilities on OpenStack. The goal of this book is to provide a focused, fast paced guide to installing, configuring, and getting started with integrating Hadoop with OpenStack, using Sahara. The book should explain to users how to deploy their data-intensive Hadoop and Spark clusters on top of OpenStack. It will also cover how to use the Sahara REST API, how to develop applications for Elastic Data Processing on Openstack, and setting up hadoop or spark clusters on Openstack.
Table of Contents (14 chapters)

Integrating Sahara


In this section, the Sahara service will be installed and configured in the cloud controller node. To do so, a few steps need to be done in order to get a successful Sahara service integration in our OpenStack environment.

Installing and configuring OpenStack Sahara

The RDO installation did not provide any Elastic Data Processing installation. Thus, we will need to install the right OpenStack Sahara package from the repository in the cloud controller node as follows:

# yum install openstack-sahara

The openstack-sahara package provides essentially the openstack-sahara-api to talk with other OpenStack services as well as the Command Line Interface (CLI) clients sahara and sahara-db-manage.

The next step requires proper configuration to connect to the database. Like any other OpenStack service, the database connection URI directive can be found in the service configuration file, which in our case is in /etc/sahara/sahara.conf.

  1. Since we are using MySQL, add the following line...