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

Externalize OS family relationship

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.1
    • ambari-server
    • None

    Description

      Currently OS Family is checked in two places - one is in java code (OsFamily) the other is in os_check.py. Create a single file that can be read by both that defines the mappings. Something like:

      {
        "redhat6": [
          "centos6", "redhat6", "oraclelinux6"
        ], ...
      }
      

      This relationship should be used by Ambari. The agent should always report the correct OS instead of trying to determine family on its own.

      Attachments

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment