[
https://issues.apache.org/jira/browse/AMBARI-14820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131694#comment-15131694
]
Hudson commented on AMBARI-14820:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.2 #288 (See
[https://builds.apache.org/job/Ambari-branch-2.2/288/])
AMBARI-14820: Implement Activate HAWQ Standby wizard to allow doing (jaoki:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8b620a3c3bc1beeec76d23c4bfbf36c7ca1f88ea])
*
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
* ambari-server/src/main/resources/common-services/HAWQ/2.0.0/metainfo.xml
* ambari-web/app/models/host_component.js
*
ambari-web/app/templates/main/admin/highAvailability/hawq/activateStandby/step1.hbs
*
ambari-web/app/controllers/main/admin/highAvailability/hawq/activateStandby/wizard_controller.js
* ambari-web/app/controllers.js
* ambari-web/app/data/controller_route.js
* ambari-web/app/routes/main.js
* ambari-web/app/views.js
* ambari-web/app/views/main/service/item.js
*
ambari-web/app/controllers/main/admin/highAvailability/hawq/activateStandby/step1_controller.js
* ambari-web/app/assets/test/tests.js
* ambari-web/app/messages.js
*
ambari-web/app/views/main/admin/highAvailability/hawq/activateStandby/step1_view.js
*
ambari-web/test/controllers/main/admin/highAvailability/hawq/activateStandby/step2_controller_test.js
*
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqstandby.py
*
ambari-web/app/templates/main/admin/highAvailability/hawq/activateStandby/wizard.hbs
*
ambari-web/app/templates/main/admin/highAvailability/hawq/activateStandby/step2.hbs
* ambari-web/app/controllers/main/service/item.js
* ambari-web/app/utils/db.js
*
ambari-web/app/views/main/admin/highAvailability/hawq/activateStandby/step2_view.js
* ambari-web/app/mixins/wizard/wizardProgressPageController.js
* ambari-web/app/controllers/main/admin/highAvailability_controller.js
*
ambari-web/app/templates/main/admin/highAvailability/hawq/activateStandby/step3.hbs
* ambari-web/app/data/HDP2.3/hawq_activate_standby_properties.js
*
ambari-web/app/controllers/main/admin/highAvailability/hawq/activateStandby/step2_controller.js
* ambari-web/app/routes/activate_hawq_standby_routes.js
*
ambari-web/app/views/main/admin/highAvailability/hawq/activateStandby/wizard_view.js
*
ambari-web/app/controllers/main/admin/highAvailability/hawq/activateStandby/step3_controller.js
*
ambari-web/app/views/main/admin/highAvailability/hawq/activateStandby/step3_view.js
> Implement Activate HAWQ Standby wizard to allow doing failover in HA mode
> -------------------------------------------------------------------------
>
> Key: AMBARI-14820
> URL: https://issues.apache.org/jira/browse/AMBARI-14820
> Project: Ambari
> Issue Type: New Feature
> Components: stacks
> Affects Versions: trunk
> Reporter: bhuvnesh chaudhary
> Assignee: bhuvnesh chaudhary
> Fix For: trunk, 2.2.2
>
> Attachments: AMBARI-14820-1.patch, AMBARI-14820-branch-2.2.patch,
> AMBARI-14820.patch
>
>
> h1. Activate HAWQ Standby Wizard
> h4. Abstract:
> All configuration changes done on Ambari managed clusters must be done via
> Ambari, otherwise during restart of services, Ambari pushes the configuration
> stored in its database and overwrites the changes done manually.
> Activation of HAWQ Standby to active master involves manual command execution
> which updates the configuration files. In order to keep the configuration in
> sync and reflect the correct state of the HAWQ components on Ambari, we need
> to introduce a wizard, i.e *“Activate HAWQ Standby Wizard”*.
> This wizard will also automate the process of activating standby and the user
> now will need to walk-through the wizard to activate standby.
> h4. Overview of activate standby operation:
> * In HA configuration, HAWQ is configured with a master and standby
> component.
> * To activate / promote standby to a master, “hawq activate standby” command
> needs to be executed on the standby
> * This operation updates the value of hawq_master_address_host and
> hawq_standby_address_host properties available in hawq-site.xml to below
> ** hawq_master_address_host : Initially Configured HAWQ Standby Host
> ** hawq_standby_address_host : This property is removed.
> * After the operation is completed, HAWQ cluster will be running in non-ha
> mode and will not have a configured standby.
> h4. Overview of the wizard pages and operation performed:
> The wizard consists of 3 pages, a brief of them is as below:
> # “Get Started”: This page is the first page seen by the user, and it gives
> introduction of the activity going to be performed.
> # “Review”: This page is the second page which informs the user about the
> changes which will happen. A confirmation is requested before proceeding to
> the next step.
> # “Configure Components”: This page is the third and last page which shows
> the progress for the steps executed. It does the below:
> ## Execute command to activate HAWQ standby
> ## Stop HAWQ service
> ## Reconfigure HAWQ to push updated configs
> ### hawq_standby_address_host is removed
> ### hawq_master_address_host is updated to previous standby
> ## Install HAWQ Master Ambari Component on the Standby Host
> ## Delete HAWQ Standby Ambari Component on the Standby Host
> ## Delete HAWQ Master Ambari Component on the Master host
> ## Start HAWQ Service
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)