Default templates for Spark
Adding master, slave, and cluster templates for Spark 1.0.0. Change-Id: Icac3c06328900f892b0f3d554efd07b497a881da Partially-implements: bp default-templates
This commit is contained in:
parent
e857447879
commit
23d44e11ef
19
sahara/plugins/default_templates/spark/v1_0_0/cluster.json
Normal file
19
sahara/plugins/default_templates/spark/v1_0_0/cluster.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"plugin_name": "spark",
|
||||
"hadoop_version": "1.0.0",
|
||||
"node_groups": [
|
||||
{
|
||||
"name": "slave",
|
||||
"count": 3,
|
||||
"node_group_template_id": "{spark-100-default-slave}"
|
||||
},
|
||||
{
|
||||
"name": "master",
|
||||
"count": 1,
|
||||
"node_group_template_id": "{spark-100-default-master}"
|
||||
}
|
||||
],
|
||||
"name": "spark-100-default-cluster",
|
||||
"neutron_management_network": "{neutron_management_network}",
|
||||
"cluster_configs": {}
|
||||
}
|
11
sahara/plugins/default_templates/spark/v1_0_0/master.json
Normal file
11
sahara/plugins/default_templates/spark/v1_0_0/master.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"plugin_name": "spark",
|
||||
"hadoop_version": "1.0.0",
|
||||
"node_processes": [
|
||||
"namenode",
|
||||
"master"
|
||||
],
|
||||
"name": "spark-100-default-master",
|
||||
"floating_ip_pool": "{floating_ip_pool}",
|
||||
"flavor_id": "{flavor_id}"
|
||||
}
|
11
sahara/plugins/default_templates/spark/v1_0_0/slave.json
Normal file
11
sahara/plugins/default_templates/spark/v1_0_0/slave.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"plugin_name": "spark",
|
||||
"hadoop_version": "1.0.0",
|
||||
"node_processes": [
|
||||
"datanode",
|
||||
"slave"
|
||||
],
|
||||
"name": "spark-100-default-slave",
|
||||
"floating_ip_pool": "{floating_ip_pool}",
|
||||
"flavor_id": "{flavor_id}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user