You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/02/26 17:54:03 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=16778339#comment-16778339 ] 

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

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10471 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10471/])
AMBARI-25045 UI logic for component dependencies needs to be modified to (vishalsuvagia: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=2c7fe036fcfcecaa77dea725b5c657b8f80e732b])
* (edit) ambari-web/app/mappers/stack_service_mapper.js
* (edit) ambari-web/app/models/stack_service_component.js
* (edit) ambari-web/app/utils/ajax/ajax.js
* (edit) ambari-web/app/controllers/main/host/details.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)