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

Allow custom services to specify repositories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.1
    • 2.5.0, 2.4.2
    • stacks
    • None

    Description

      When creating a custom service for inclusion into Ambari, there is no way to specify any custom repositories. There should be a way to set a definition for the repository and have it show up on the repository pages, allowing an Administrator to override it. Currently, to use a custom repository, one must modify a file in the custom service definition to point to another repository.

      For example, a custom service may use public APT/YUM repositories for fetching packages. This is done by copying an appropriate configuration file from the service definition to the cluster hosts via Ambari Agent, and packages are fetched from the official public repositories. Many Ambari users would like to point this to their internal mirrors, just like they do with HDP. This is currently not possible without modifying the repository.xml at the stack level.

      As a workaround, I am looking at having an option defined as configuration that is used in a template, but Ambari should really support this use case natively, without the service author being required to create their own implementations.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wolf31o2 Chris Gianelloni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: