Details of cluster template
name | data type | description |
---|---|---|
clusterName | string | Cluster name |
hosts | array of ApiClusterTemplateHostInfo | All the hosts that are part of that cluster |
variables | array of ApiClusterTemplateVariable | All the variables the are referred by the cluster template |
roleConfigGroups | array of ApiClusterTemplateRoleConfigGroupInfo | All the role config group informations for non-base RCGs. |
clusterSpec | ApiClusterTemplateClusterSpec | Cluster specification. |
enableKerberos | ApiConfigureForKerberosArguments | Enable kerberos authentication |
keepHostTemplates | boolean | Keep the hosts templates from cluster template. Default is false i.e do not keep host templates |
Example
{ "clusterName" : "...", "hosts" : [ { "hostName" : "...", "hostNameRange" : "...", "rackId" : "...", "hostTemplateRefName" : "...", "roleRefNames" : [ "...", "..." ] }, { "hostName" : "...", "hostNameRange" : "...", "rackId" : "...", "hostTemplateRefName" : "...", "roleRefNames" : [ "...", "..." ] } ], "variables" : [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ], "roleConfigGroups" : [ { "rcgRefName" : "...", "name" : "..." }, { "rcgRefName" : "...", "name" : "..." } ], "clusterSpec" : { "dataContextRefs" : [ { "name" : "..." }, { "name" : "..." } ] }, "enableKerberos" : { "datanodeTransceiverPort" : 12345, "datanodeWebPort" : 12345 }, "keepHostTemplates" : true }