-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43743/
-----------------------------------------------------------
(Updated Feb. 24, 2016, 12:41 a.m.)
Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Nate Cole,
Richard Zang, and Xi Wang.
Changes
-------
Fixed unit tests.
Bugs: AMBARI-13424
https://issues.apache.org/jira/browse/AMBARI-13424
Repository: ambari
Description
-------
In some environments, the customer still wants to proceed with RU & EU even if
PreChecks fail. E.g.,
NameNode HA doesn't actually exist if they have their own distribution of HDFS
Hosts be down at the time the upgrade is starting, but will come online during
the upgrade.
Today, they are unable to start RU/EU if any of the PreChecks fail.
Introduce a config in ambari.properties file called
"stack.upgrade.bypass.prechecks" whose default value is "false"
Diffs (updated)
-----
ambari-server/src/main/java/org/apache/ambari/server/checks/AbstractCheckDescriptor.java
a8af073
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
32e2ea9
ambari-server/src/main/java/org/apache/ambari/server/state/CheckHelper.java
5a8d4fd
ambari-server/src/main/java/org/apache/ambari/server/state/stack/PrereqCheckStatus.java
f8009e3
ambari-server/src/test/java/org/apache/ambari/server/state/CheckHelperTest.java
283a3ca
ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js 29b996f
ambari-web/app/messages.js c9ae08c
ambari-web/app/styles/stack_versions.less b06ec8f
ambari-web/app/templates/common/modal_popups/cluster_check_dialog.hbs 8fd2746
ambari-web/app/templates/main/admin/stack_upgrade/upgrade_options.hbs 268ea1d
ambari-web/app/views/common/modal_popups/cluster_check_popup.js d173d1a
Diff: https://reviews.apache.org/r/43743/diff/
Testing
-------
Verified on PreChecks for RU/EU when put hosts in maintenance mode and tested
with/without the config "stack.upgrade.bypass.prechecks"
See screenshots in Apache Jira.
Waiting for unit test results.
Thanks,
Alejandro Fernandez