Default templates for CDH

Adding namenode, datanode, secondarynamenode, and cluster templates for CDH versions

Change-Id: I49c436ec5221d9f9041a67d36edd4059b842faea
Partially-implements: bp default-templates
This commit is contained in:
luhuichun 2015-03-17 16:51:27 +08:00 committed by Trevor McKay
parent e857447879
commit e252436b0b
8 changed files with 122 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{
"plugin_name": "cdh",
"hadoop_version": "5",
"node_groups": [
{
"name": "datanode",
"count": 3,
"node_group_template_id": "{cdh-5-default-datanode}"
},
{
"name": "secondary-namenode",
"count": 1,
"node_group_template_id": "{cdh-5-default-secondary-namenode}"
},
{
"name": "namenode",
"count": 1,
"node_group_template_id": "{cdh-5-default-namenode}"
}
],
"name": "cdh-5-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
}

View File

@ -0,0 +1,11 @@
{
"plugin_name": "cdh",
"hadoop_version": "5",
"node_processes": [
"HDFS_DATANODE",
"YARN_NODEMANAGER"
],
"name": "cdh-5-default-datanode",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
}

View File

@ -0,0 +1,14 @@
{
"plugin_name": "cdh",
"hadoop_version": "5",
"node_processes": [
"HDFS_NAMENODE",
"YARN_RESOURCEMANAGER",
"HIVE_SERVER2",
"HIVE_METASTORE",
"CLOUDERA_MANAGER"
],
"name": "cdh-5-default-namenode",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
}

View File

@ -0,0 +1,12 @@
{
"plugin_name": "cdh",
"hadoop_version": "5",
"node_processes": [
"HDFS_SECONDARYNAMENODE",
"OOZIE_SERVER",
"YARN_JOBHISTORY"
],
"name": "cdh-5-default-secondary-namenode",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
}

View File

@ -0,0 +1,24 @@
{
"plugin_name": "cdh",
"hadoop_version": "5.3.0",
"node_groups": [
{
"name": "datanode",
"count": 3,
"node_group_template_id": "{cdh-530-default-datanode}"
},
{
"name": "secondary-namenode",
"count": 1,
"node_group_template_id": "{cdh-530-default-secondary-namenode}"
},
{
"name": "namenode",
"count": 1,
"node_group_template_id": "{cdh-530-default-namenode}"
}
],
"name": "cdh-530-default-cluster",
"neutron_management_network": "{neutron_management_network}",
"cluster_configs": {}
}

View File

@ -0,0 +1,11 @@
{
"plugin_name": "cdh",
"hadoop_version": "5.3.0",
"node_processes": [
"HDFS_DATANODE",
"YARN_NODEMANAGER"
],
"name": "cdh-530-default-datanode",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
}

View File

@ -0,0 +1,14 @@
{
"plugin_name": "cdh",
"hadoop_version": "5.3.0",
"node_processes": [
"HDFS_NAMENODE",
"YARN_RESOURCEMANAGER",
"HIVE_SERVER2",
"HIVE_METASTORE",
"CLOUDERA_MANAGER"
],
"name": "cdh-530-default-namenode",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
}

View File

@ -0,0 +1,12 @@
{
"plugin_name": "cdh",
"hadoop_version": "5.3.0",
"node_processes": [
"HDFS_SECONDARYNAMENODE",
"OOZIE_SERVER",
"YARN_JOBHISTORY"
],
"name": "cdh-530-default-secondary-namenode",
"floating_ip_pool": "{floating_ip_pool}",
"flavor_id": "{flavor_id}"
}