You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Aleksandr Kovalenko (JIRA)" <ji...@apache.org> on 2015/04/08 17:35:13 UTC

[jira] [Updated] (AMBARI-10404) Make assignMasters controller more reusable and add support of cardinality

     [ https://issues.apache.org/jira/browse/AMBARI-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksandr Kovalenko updated AMBARI-10404:
-----------------------------------------
    Attachment: AMBARI-10404.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)