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

Support service-specific repo for add-on services

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.0, 2.2.0, 2.4.0
    • 2.5.0, 2.4.2
    • ambari-server
    • None

    Description

      The approach for custom-services to specify their own repo location will be to provide a /repos/repoinfo.xml inside the stack-version they will be in. This repo file will be loaded by Ambari during startup into the /api/v1/stacks/HDP/versions/2.4/repository_versions repos. Service repo files have a restriction that their (repo-name, base-url) locations should be unique and not conflict. When conflicts do occur, they will not be loaded into the stacks model.

      Now the management-pack will provide such repos/ folder in mpacks/custom-services/8.0.0/repos which will be linked into the stacks/ folder.
      ambari/ambari-server/src/main/resources/stacks/HDP/2.3/services/SERVICE_NAME/repos -> mpacks/custom-services/8.0.0/repos

      Attachments

        1. AMBARI-15538-custom-repos-patch6-branch-25.diff
          86 kB
          Balázs Bence Sári
        2. AMBARI-15538-custom-repos-patch6-trunk.diff
          87 kB
          Balázs Bence Sári
        3. AMBARI-15538-custom-repos-patch-branch-24.diff
          86 kB
          Balázs Bence Sári
        4. AMBARI-15538-custom-repos-patch-branch-24-part2.diff
          2 kB
          Balázs Bence Sári

        Issue Links

          Activity

            People

              bsari Balázs Bence Sári
              jluniya Jayush Luniya
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: