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

Custom service repos in repoinfo.xml got overwritten by public VDFs

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 2.4.0
    • 2.4.2
    • None
    • None

    Description

      Ambari 2.4 introduced Version Definition Files that break the functionality of adding a custom service repo, since custom services do not have an entry in the public VDF.

      In the case of HAWQ, the plugin is installed on Ambari host and it adds the new repo information to the repoinfo.xml of all available stacks on the file system. Once Ambari cluster creation wizard queries the latest repo info from the public URLs, it will get the info for all stack repos, but not the custom ones.

      So, the logic should be:
      1. Use default repoinfo (from file system) as the base
      2. Query public VDF, if available
      3. For each entry in public VDF overwrite values in the default repoinfo
      4. Entries in default repoinfo that do not have corresponding entries in VDF should stay intact

      This way custom services can be added via file edit and the latest information can still be retrieved and applied for the standard stack.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ncole@hortonworks.com Nate Cole Assign to me
            adenissov Alexander Denissov
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment