You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2018/12/17 14:25:00 UTC

[jira] [Created] (AMBARI-25045) UI logic for component dependencies needs to be modified to use the type field

Andrii Tkach created AMBARI-25045:
-------------------------------------

             Summary: UI logic for component dependencies needs to be modified to use the type field
                 Key: AMBARI-25045
                 URL: https://issues.apache.org/jira/browse/AMBARI-25045
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.8.0
            Reporter: Andrii Tkach
            Assignee: Andrii Tkach
             Fix For: 2.8.0
         Attachments: Screenshot from 2018-11-29 16-10-38.png

The component dependency now has the type field. If the value of that field is "exclusive" the dependent component should never be co-hosted.
{code}
{
  "href" : "http://c7301:8080/api/v1/stacks/HDP/versions/3.0/services/HDFS/components/DATANODE/dependencies/OZONE_DATANODE",
  "Dependencies" : {
    "component_name" : "OZONE_DATANODE",
    "conditions" : [ ],
    "dependent_component_name" : "DATANODE",
    "dependent_service_name" : "HDFS",
    "scope" : "host",
    "service_name" : "OZONE",
    "stack_name" : "HDP",
    "stack_version" : "3.0",
    "type" : "exclusive"
  }
}{code}
Currently this dependency causes UI to force dependent component being add on the host
 !Screenshot from 2018-11-29 16-10-38.png|thumbnail! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)