[
https://issues.apache.org/jira/browse/AMBARI-7521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14149582#comment-14149582
]
Hudson commented on AMBARI-7521:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #391 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/391/])
AMBARI-7521 Adding a component to a host should check for the presence of host
scope dependencies of that component. (Buzhor Denys via atkach) (atkach:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e7ce4bb6fd7b287051214ffeb4c9828b6ee43e94)
* ambari-web/app/messages.js
* ambari-web/app/utils/components.js
* ambari-web/app/controllers/main/host/details.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
>
>
> 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)