[
https://issues.apache.org/jira/browse/AMBARI-24964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Balázs Bence Sári updated AMBARI-24964:
---------------------------------------
Status: Patch Available (was: In Progress)
> Integrate new Add Service Request with stack advisor layout recommendation
> --------------------------------------------------------------------------
>
> Key: AMBARI-24964
> URL: https://issues.apache.org/jira/browse/AMBARI-24964
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.7.2
> Reporter: Balázs Bence Sári
> Assignee: Balázs Bence Sári
> Priority: Critical
> Fix For: trunk
>
>
> In the new "Add Service" API, users of the API will be able to list out a set
> of services that need to be added to an existing cluster, without specifying
> any individual components or specifying where the components will be hosted.
> In the event that an "Add Service" request is submitted, with only service
> names specified, then the "Add Service" deployment code must implement the
> following:
> 1. Based on the services included in the request, make a call to the
> StackAdvisor for component layout recommendations.
> The following code shows an example of creating this request:
> {code}org.apache.ambari.server.api.services.stackadvisor.StackAdvisorHelper#createRecommendationCommand{code}
> 2. Take the output of the StackAdvisor, and use that to determine the list of
> components to install and start, as well as the hosts that will include these
> components.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)