Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24964

Integrate new Add Service Request with stack advisor layout recommendation

    XMLWordPrintableJSON

Details

    Description

      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:

      org.apache.ambari.server.api.services.stackadvisor.StackAdvisorHelper#createRecommendationCommand

      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.

      Attachments

        Issue Links

          Activity

            People

              bsari Balázs Bence Sári
              bsari Balázs Bence Sári
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h