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)

Creating a Hadoop cluster


To provision a Hadoop cluster, a prepared image should be uploaded or existing in Glance. We can start by uploading the image.

Preparing the image from Horizon

To avoid any compatibility issues during installation, it might be required to upload the supported image for the specific plugin. A very fast way is to download prepared images from the OpenStack upstream hosted by Mirantis as the following:

# wget http://sahara-files.mirantis.com/images/upstream/liberty/sahara-liberty-vanilla-2.7.1-centos-7.qcow2

It is possible to build a customized image using the diskimage-builder tool.

Note

For more information on how to build a specific image, check the following link:

https://github.com/openstack/diskimage-builder

To register an image in Sahara, it is required that the image should be uploaded in the glance images catalog. From the Sahara tab in Horizon, click on Image Registry. By clicking on the Register Image button, the next wizard appears. The following settings are...