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

Hudson commented on AMBARI-25045:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10386 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/10386/])
AMBARI-25045 UI logic for component dependencies needs to be modified to 
(atkach: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=0bf2c54835e8441d18fd8955cc9d0e8c751d97b0])
* (edit) ambari-web/app/mappers/stack_service_mapper.js
* (edit) ambari-web/app/controllers/main/host/details.js
* (edit) ambari-web/app/models/stack_service_component.js
* (edit) ambari-web/app/utils/ajax/ajax.js
* (edit) ambari-web/test/controllers/main/host/details_test.js


> 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