ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya" <jlun...@hortonworks.com>
Subject Re: Review Request 39327: AMBARI-13418. Stop-and-Start Upgrade: Upgrade START call cannot find upgrade pack to use (trunk)
Date Wed, 14 Oct 2015 21:03:17 GMT

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

Ship it!


Ship It!

- Jayush Luniya


On Oct. 14, 2015, 8:23 p.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39327/
> -----------------------------------------------------------
> 
> (Updated Oct. 14, 2015, 8:23 p.m.)
> 
> 
> Review request for Ambari, Dmytro Grinenko, Dmitro Lisnichenko, Jonathan Hurley, and
Nate Cole.
> 
> 
> Bugs: AMBARI-13418
>     https://issues.apache.org/jira/browse/AMBARI-13418
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Rolling Upgrade and Express Upgrade cannot be started because it cannot find the correct
upgrade pack to use based on the type.
> The PreChecks endpoint needs to resolve to the same upgrade pack.
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/test/python/ambari_agent/TestCertGeneration.py.orig 2461281 
>   ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py.orig 8957b44

>   ambari-agent/src/test/python/ambari_agent/TestSecurity.py.orig 0e1e4ee 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/PreUpgradeCheckResourceProvider.java
9c429bf 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
6fe074d 
>   ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeHelper.java f0b383c

>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
8f90206 
>   ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java 037bb05

>   ambari-server/src/test/python/TestBootstrap.py.orig 792d99d 
>   ambari-server/src/test/python/stacks/2.1/configs/secured-storm-start.json.orig 9dad8e1

>   ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_test.xml 827348a

>   contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/browser/HiveBrowserService.java.orig
55919a7 
>   contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/jobs/JobService.java.orig
ad46e33 
> 
> Diff: https://reviews.apache.org/r/39327/diff/
> 
> 
> Testing
> -------
> 
> Tested this on Ambari 2.1.3 using branch-2.1 and
> 1. HDP 2.1 can report a failure during the NON_ROLLING PreCheck if masters are down.
> 2. HDP 2.1->2.3 can pass the prechecks and start Express Upgrade
> 3. HDP 2.2 can report a failure during the ROLLING PreCheck if masters are down.
> 4. HDP 2.2->2.3 can pass the prechecks and start Rolling Upgrade
> 
> 
> For the Pre-Checks, tested using these endpoints,
> * http://server.:8080/api/v1/clusters/c1/rolling_upgrades_check?fields=*&UpgradeChecks/repository_version=2.3.2.0-2950&UpgradeChecks/upgrade_type=ROLLING
> * http://server.:8080/api/v1/clusters/c1/rolling_upgrades_check?fields=*&UpgradeChecks/repository_version=2.3.2.0-2950&UpgradeChecks/upgrade_type=NON_ROLLING
> 
> 
> I tagged some of the unit tests with Ignore since they were failing in an unrelated area
due to the setup.
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>


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