Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
trunk
-
None
-
None
Description
Stack advisor provides service component placement recommendations for any given set oif hosts and services with the assumption that all the hosts are homogeneous (same configuration - cpu/memory). This limits the possibility of assigning hosts that are capable of being master to associate master service components.
By passing the host-group information with some hints specifying which distinction between master and slave nodes, the stack advisor component could place the appropriate master service components with the associated master hosts.
Stack advisor could parse the host group name ("masters" vs "slaves" vs "clients") and identifies if the hosts could be treated as master or slave. In the absence of the "hint", all the hosts will be assumed to be homogeneous (default/current implementation)
"name":"masters-host-group1"
"name":"slaves-host-group1"
"name":"clients-host-group1"
/api/v1/stacks/HDP/versions/2.3/recommendations
{
"hosts":[
"host1",
"host2"
],
"services":[
"HDFS",
"YARN",
"MAPREDUCE2",
"ZOOKEEPER"
],
"recommendations":{
"blueprint":{
"host_groups":[
,
,
{ "name":"clients-host-group1", "components":[ ] } ]
},
"blueprint_cluster_binding":{
"host_groups":[
{
"name":"masters-host-group1",
"hosts":[
]
},
{
"name":"slaves-host-group1",
"hosts":[
]
},
{
"name":"clients-host-group1",
"hosts":[
]
}
]
}
},
"recommend":"host_groups"
}
Attachments
Issue Links
- is related to
-
AMBARI-13300 Enhance Stack Advisor to support Blueprint recommendation
- Open