ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <>
Subject Re: Review Request 43743: AMBARI-13424. Allow disabling RU/EU PreChecks
Date Wed, 24 Feb 2016 19:43:16 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 24, 2016, 7:43 p.m.)

Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Nate Cole, Richard Zang, and
Xi Wang.

Bugs: AMBARI-13424

Repository: ambari


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 file called "stack.upgrade.bypass.prechecks" whose
default value is "false"


  ambari-server/src/main/java/org/apache/ambari/server/configuration/ 32e2ea9

  ambari-server/src/main/java/org/apache/ambari/server/state/ 5a8d4fd 
  ambari-server/src/test/java/org/apache/ambari/server/state/ 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 


Testing (updated)

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.

Unit tests passed.


Alejandro Fernandez

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message