You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Babiichuk (JIRA)" <ji...@apache.org> on 2014/04/14 13:57:15 UTC

[jira] [Created] (AMBARI-5457) Host Checks: alternatives check results are not surfaced in Host Check popup

Andrii Babiichuk created AMBARI-5457:
----------------------------------------

             Summary: Host Checks: alternatives check results are not surfaced in Host Check popup
                 Key: AMBARI-5457
                 URL: https://issues.apache.org/jira/browse/AMBARI-5457
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.5.1
            Reporter: Andrii Babiichuk
            Assignee: Andrii Babiichuk
             Fix For: 1.6.0


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:
{code}
 "last_agent_env" : {
      "stackFoldersAndFiles" : [
        ...
      ],
      "alternatives" : [
        {
          "name" : "zookeeper-conf",
          "target" : "/etc/zookeeper/conf.dist"
        },
        {
          "name" : "hadoop-conf",
          "target" : "/etc/hadoop/conf.dist"
        },
      ],
      "existingUsers" : [
        ....
      ],
      "existingRepos" : [
        ...
      ],
      ...
{code}

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




--
This message was sent by Atlassian JIRA
(v6.2#6252)