ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10404) Make assignMasters controller more reusable and add support of cardinality
Date Wed, 08 Apr 2015 16:40:12 GMT

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

Antonenko Alexander commented on AMBARI-10404:
----------------------------------------------

+1 for the patch

> Make assignMasters controller more reusable and add support of cardinality
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-10404
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10404
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Aleksandr Kovalenko
>            Assignee: Aleksandr Kovalenko
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10404.patch
>
>
> {{wizardStep5Controllert}} is used in Install, Add Service, Move, NN HA, RM HA, future
Ranger Admin HA and Ranger KMS HA wizards. But all these wizards have some specific behavior
on assign masters step, and in each wizard there is some logic redefined. All controllers
are extending {{wizardStep5Controllert}} and when you are editing some logic for Installer
for example, you may break logic in some other place. So lets make special mixin with all
general logic and make this logic more customizable to clearly use it in other controllers.
> Also assign masters steps do not use real cardinality of master components, user may
add as much host components as much hosts are registered in the cluster.
> This changes are required to provide Select Host step for Ranger Admin HA Wizard.



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

Mime
View raw message