About the Hadoop cluster service test
The Hadoop cluster service test verifies that Sahara can launch
a Hadoop cluster using the Vanilla plugin.
The following table describes the details of the Hadoop cluster tests.
Sahara platform tests
| Name | Description | Scenario | 
|---|
| Test that Sahara can launch a Hadoop cluster using the Vanilla
plugin. | The test verifies successful launch of the Hadoop cluster. | 
Log in to the OpenStack dashboard.Register an image:
Select .Click Register Image.In the Image field, select an image.Specify the User Namevalue for the selected OS.Set the following values:
Plugin=vanillaVersion=2.6.0Click Add plugin tags.Click Done. | 
|  |  | 
Create a master node group template:
Select .Click Create Template.In the Create Node Group template dialog, set the
following values:
Plugin name=Vanilla Apache HadoopHadoop version=2.6.0Click Create to proceed.In the second Create Node Group template dialog, set the
following values:
Template Name=vanilla2-masterOpenStack Flavor=m1.smallFloating IP pool=(external network)In the Process section, select:
namenodesecondarynamenoderesourcemanagerhistoryserveroozieClick Create. | 
|  |  | 
Create a worker node group template:
Select :menuselection: Project –> Data Processing –>
Node Group Templates.Click Create Template.In the Create Node Group template dialog,
set the following values:
Plugin name=Vanilla Apache HadoopHadoop version=2.6.0Click Create to proceed.In the second Create Node Group template dialog, set
the following values:
Template Name=vanilla2-workerOpenStack Flavor=m1.smallFloating IP pool=(external network)In the Process section, select:
Click Create. | 
|  |  | 
Create a cluster template:
Select .Click Create Template.In the Create Cluster Template dialog, set the
following values:
Plugin name=Vanilla Apache HadoopHadoop version=2.6.0Click Create.In the second Create Cluster Template dialog, set the
following values:
In the Details tab, specify
Template Name=vanilla2-template.In the Node Groups tab, specify vanilla2-masterandvanilla2-worker.In the HDFS Parameters tab, specify
dfs.replication=1.Click Create. | 
|  |  | 
Launch the cluster:
Select Project –> Data Processing –> Clusters.Click Launch Cluster.In the Launch Cluster dialog, set the following
values:
Plugin name=Vanilla Apache HadoopHadoop version=2.6.0Click Create to proceed.In the second Launch Cluster dialog, set
:guilabel:Cluster Name=vanilla2-cluster.Click Create.Wait until the cluster has the Activestatus. | 
|  |  | 
Delete the cluster:
In the Clusters page, select the vanilla2-clustercluster.Click .Delete the templates:
Select .Select the vanilla2-template template.Click Delete Templates.Select Project –> Data Processing –> Node Group
Templates.Select vanilla2-master and vanilla2-worker templates.Click Delete Templates. |