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)

Troubleshooting data processing


As a very rough rule of thumb, troubleshooting issues with Sahara or any other component in OpenStack should be seen as a whole ecosystem where many other services could be running in an unexpected status. Therefore, Sahara will not be able to function properly. Covering all issues in OpenStack could fill an entire book; however, it might be essential to have a good understanding of its ecosystem. On the other hand, the data processing service may face a few problems while creating a Hadoop or Spark cluster, or when launching jobs.

Debugging Sahara

The Sahara command-line client's tools support the --debug option. This is very useful to show the execution of the Curl commands of each API call to the Sahara endpoint in OpenStack. For example, the debug option can be used to check the accessibility of the client to the endpoint by getting more details as follows:

# sahara --debug cluster-list
DEBUG (session:198) REQ: curl -g -i -X GET http:// 10.10.10.47:5000...