[ 
https://issues.apache.org/jira/browse/AMBARI-25045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrii Tkach resolved AMBARI-25045.
-----------------------------------
    Resolution: Fixed

> 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
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>         Attachments: Screenshot from 2018-11-29 16-10-38.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to