ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitro Lisnichenko <dlysniche...@hortonworks.com>
Subject Re: Review Request 43743: AMBARI-13424. Allow disabling RU/EU PreChecks
Date Wed, 24 Feb 2016 11:06:14 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43743/#review120488
-----------------------------------------------------------


Ship it!




Ship It!

- Dmitro Lisnichenko


On Feb. 24, 2016, 2:56 a.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43743/
> -----------------------------------------------------------
> 
> (Updated Feb. 24, 2016, 2:56 a.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Nate Cole, Richard Zang,
and Xi Wang.
> 
> 
> 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
> -----
> 
>   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
> 
>


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