-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46283/
-----------------------------------------------------------
Review request for Ambari, Alexander Denissov, Alejandro Fernandez, jun aoki,
Jayush Luniya, Matt, Oleksandr Diachenko, and Srimanth Gunturi.
Bugs: AMBARI-15930
https://issues.apache.org/jira/browse/AMBARI-15930
Repository: ambari
Description
-------
In hawq init command, default bucket number is calculated and the updated
hawq-site.xml is copied to all the other nodes, if there is a segment host down
it will fail to syncup the fail.
Including the option to skip bad hosts as ambari will override this file
whenever the segment host is brought online and started.
Diffs
-----
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py
b929430
ambari-server/src/test/python/stacks/2.3/HAWQ/test_hawqmaster.py 5f7f085
Diff: https://reviews.apache.org/r/46283/diff/
Testing
-------
yes.
bhuvneshchaudhary@bhuviMac:HAWQ$ python -m discover -v
test_hawq_master_critical
(test_alert_component_status.TestAlertComponentStatus) ... ok
test_hawq_master_ok (test_alert_component_status.TestAlertComponentStatus) ...
ok
test_hawq_segment_critical
(test_alert_component_status.TestAlertComponentStatus) ... ok
test_hawq_segment_ok (test_alert_component_status.TestAlertComponentStatus) ...
ok
test_hawq_standby_critical
(test_alert_component_status.TestAlertComponentStatus) ... ok
test_hawq_standby_ok (test_alert_component_status.TestAlertComponentStatus) ...
ok
test_missing_configs (test_alert_component_status.TestAlertComponentStatus) ...
ok
test_exception_registration_status
(test_alert_segment_registration_status.TestAlertRegistrationStatus) ... No
handlers could be found for logger "ambari_alerts"
ok
test_missing_configs
(test_alert_segment_registration_status.TestAlertRegistrationStatus) ... ok
test_missing_slave_file
(test_alert_segment_registration_status.TestAlertRegistrationStatus) ... ok
test_successful_registration_status
(test_alert_segment_registration_status.TestAlertRegistrationStatus) ... ok
test_unsuccessful_empty_db_registration_status
(test_alert_segment_registration_status.TestAlertRegistrationStatus) ... ok
test_unsuccessful_registration_status
(test_alert_segment_registration_status.TestAlertRegistrationStatus) ... ok
test_unsuccessful_registration_status_plural
(test_alert_segment_registration_status.TestAlertRegistrationStatus) ... ok
test_missing_configs (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_no_standby_state (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_none_state (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_not_configured_state (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_not_synchronized_state (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_synchronized_state (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_synchronizing_state (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_unknown_state (test_alert_sync_status.TestAlertSyncStatus) ... ok
test_configure_default (test_hawqmaster.TestHawqMaster) ... ok
test_install_default (test_hawqmaster.TestHawqMaster) ... ok
test_start_default (test_hawqmaster.TestHawqMaster) ... 2016-04-15 15:16:22,910
- Skipping ssh key exchange with HAWQ hosts as hawq_ssh_exkeys is either set to
false or is not available in hawq-env.xml
ok
test_stop_default (test_hawqmaster.TestHawqMaster) ... ok
test_configure_default (test_hawqsegment.TestHawqSegment) ... ok
test_install_default (test_hawqsegment.TestHawqSegment) ... ok
test_start_default (test_hawqsegment.TestHawqSegment) ... ok
test_stop_default (test_hawqsegment.TestHawqSegment) ... ok
test_configure_default (test_hawqstandby.TestHawqStandby) ... ok
test_install_default (test_hawqstandby.TestHawqStandby) ... ok
test_start_default (test_hawqstandby.TestHawqStandby) ... ok
test_stop_default (test_hawqstandby.TestHawqStandby) ... ok
test_generate_hawq_process_status_cmd (test_utils.TestUtils) ... ok
----------------------------------------------------------------------
Ran 35 tests in 0.148s
OK
Thanks,
bhuvnesh chaudhary