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/18 10:56:00 UTC

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

    [ https://issues.apache.org/jira/browse/AMBARI-25045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723934#comment-16723934 ] 

Andrii Tkach commented on AMBARI-25045:
---------------------------------------

committed to trunk

> 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)