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 Name value for the selected OS.
- Set the following values:
Plugin=vanilla
Version=2.6.0
- Click 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 Hadoop
Hadoop version=2.6.0
- Click Create to proceed.
- In the second Create Node Group template dialog, set the
following values:
Template Name=vanilla2-master
OpenStack Flavor=m1.small
Floating IP pool=(external network)
- In the Process section, select:
namenode
secondarynamenode
resourcemanager
historyserver
oozie
- Click 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 Hadoop
Hadoop version=2.6.0
- Click Create to proceed.
- In the second Create Node Group template dialog, set
the following values:
Template Name=vanilla2-worker
OpenStack Flavor=m1.small
Floating 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 Hadoop
Hadoop version=2.6.0
- Click 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-master
and vanilla2-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 Hadoop
Hadoop version=2.6.0
- Click Create to proceed.
- In the second Launch Cluster dialog, set
:guilabel:
Cluster Name=vanilla2-cluster .
- Click Create.
- Wait until the cluster has the
Active status.
|
|
|
- Delete the cluster:
- In the Clusters page, select the
vanilla2-cluster
cluster.
- 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.
|