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

Hudson commented on AMBARI-7521:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #409 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/409/])
AMBARI-7521 Adding a component to a host should check for the presence of host 
scope dependencies of that component, second patch. (Buzhor Denys via atkach) 
(atkach: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7faf263af1d16d929b6dd06dba12208d2417a202)
* ambari-web/app/utils/helper.js
* ambari-web/app/controllers/main/host/details.js
* ambari-web/app/controllers/wizard/step8_controller.js
* ambari-web/app/utils/components.js
* ambari-web/app/mappers/stack_service_mapper.js
* ambari-web/app/utils/ajax/ajax.js
* ambari-web/app/messages.js


> Adding a component to a host should check for the presence of host scope 
> dependencies of that component
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-7521
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7521
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 1.7.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7521.patch, AMBARI-7521_2.patch
>
>
> Host details page allows adding any uninstalled client component and some 
> non-client component to the host. 
> But there are some components that have a host scope dependencies on another 
> components. For example, Slider client won't function properly if HDFS client 
> and YARN client are not installed with it on the same host and thus slider 
> client has host scope dependencies on HDFS and YARN client. Such information 
> is available from API.
> As a part of this ticket, ambari-web should maintain a map of host scope 
> dependencies for every component in StackServiceComponent model. 
> On host page while adding a component, ambari-web code should check if the 
> component's host scope dependencies are installed or not on that host. If not 
> then show a single button ("OK") popup window informing the user to install 
> them first:
> *popup window message:* 
> {code}"${ComponentNameTobeAdded} requires ${componentName},${componentName} 
> and ${componentName} to be installed along with it. Please add them first and 
> then try adding ${{ComponentNameTobeAdded}"{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to