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

Unify repository file creation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.0.0
    • ambari-server
    • None

    Description

      Repo files are written two different ways in Ambari. The first way makes each repository its own file:

      # cat /etc/yum.repos.d/HDP.repo
      [HDP-2.5]
      name=...
      baseurl=...
      path=/
      enabled=1
      
      # cat /etc/yum.repos.d/HDP-UTILS.repo
      [HDP-UTILS-1.1.0.21]
      name=...
      baseurl=...
      path=/
      enabled=1
      

      With installing packages for upgrade purposes, only ONE file is created:

      # cat /etc/yum.repos.d/HDP-2.5.3.0-38.repo
      [HDP-2.5.3.0-38]
      ...
      [HDP-UTILS-2.5.3.0-38]
      ...
      

      This behavior should be unified as in the 2nd behavior. This is going to be important to be able to support multiple deployed versions, per host, as is required for PU/CU.

      Attachments

        1. AMBARI-20871.patch
          181 kB
          Nate Cole

        Issue Links

          Activity

            People

              ncole@hortonworks.com Nate Cole
              ncole@hortonworks.com Nate Cole
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: