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

Host Checks: alternatives check results are not surfaced in Host Check popup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.6.0
    • ambari-web
    • None

    Description

      Ambari Agent, as part of host checks, identifies conflicting "alternatives" settings and reports back inside the "last_agent_env" object.
      UI is not surfacing this in Host Checks popup.
      We should have a section called "Alternatives Issues" and list out the alternatives names.
      For example:

       "last_agent_env" : {
            "stackFoldersAndFiles" : [
              ...
            ],
            "alternatives" : [
              {
                "name" : "zookeeper-conf",
                "target" : "/etc/zookeeper/conf.dist"
              },
              {
                "name" : "hadoop-conf",
                "target" : "/etc/hadoop/conf.dist"
              },
            ],
            "existingUsers" : [
              ....
            ],
            "existingRepos" : [
              ...
            ],
            ...
      

      In the above case, we want to highlight the fact that hadoop-conf and zookeeper-conf have conflicts.

      Alternatives Issues
      --------
      The following alternatives should be removed
      Alternatives
      hadoop-conf Exists on 3 hosts
      zookeeper-conf Exists on 3 hosts

      Attachments

        1. AMBARI-5457.patch
          4 kB
          Andriy Babiichuk

        Activity

          People

            ababiichuk Andriy Babiichuk
            ababiichuk Andriy Babiichuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: