You can run the platform tests to verify that the Hadoop cluster (Sahara) functions correctly. To run the tests, Sahara must be deployed and configured.
You run the tests in the tenant you specified in the OpenStack Settings tab during the OpenStack installation. By default, the admin tenant is used for the tests.
You must have at least 4096 MB RAM available in the tenant for Sahara platform tests. Otherwise, some tests may fail.
Note
Sahara uses auto-security groups for opening required ports for each plugin. For more information, see the corresponding plugin documentation.
To prepare Hadoop cluster for testing
Download the image with Hadoop for Sahara
If you use VMware vSphere as a hypervisor for your OpenStack environment, convert the qcow2 image format to vmdk:
qemu-img convert -O vmdk <original_image>.qcow2 <converted_image>.vmdk
Register the image with Sahara:
Upload the image into Glance into the admin tenant.
Name the image sahara.
In Horizon, navigate to Projects ‣ Data Processing.
Switch to the admin tenant.
Select Image Registry.
Click Register Image.
The Image registration dialog appears.
Select the image you have just uploaded.
Set username to ubuntu
.
Select the tags: plugin=vanilla
and version=<version>
.
Click Add plugin tags.
Click Done.
Proceed with testing the Hadoop cluster.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.