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

Review request for Ambari, Alejandro Fernandez, Dmytro Grinenko, and Robert 
Levas.


Bugs: AMBARI-20401
    https://issues.apache.org/jira/browse/AMBARI-20401


Repository: ambari


Description
-------

- Deploy HDP-2.5.3 cluster with Ambari-2.5.0.1 (cluster topology is: 2 hosts 
with only masters, 2 hosts with only slaves, 1 host with only clients)
- Issued below call to start Host Ordered Upgrade to HDP-2.5.4 (note that host 
named 'bugbash-cluster-2-2.openstacklocal' - third in the list has only client 
components)

In the HOU wizard in Ambari web UI, when the upgrade reaches 'Upgrade All 
Hosts' group, there is already an entry for 'Stop on 
bugbash-cluster-2-2.openstacklocal'

- There is a bug deep in the ambari orchestration logic which causes a request 
to hang in a {{PENDING}} state if the stage numbers are not directly sequential 
(ie 1, 2, 3 vs 1, 3)
- HOU is exposing this bug by trying to schedule a stage with no tasks (which 
is wrong anyway)

It's way to dangerous to fix the first problem. The 2nd problem is now fixed 
and I'm putting it up for review. Therefore, I think this bug should remain 
scoped for 2.5.0.1 and I can open a new bug for 2.5.1 for the deeper issue. 
Sound good?


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/HostOrderGrouping.java
 7734731 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
 62e55c4 


Diff: https://reviews.apache.org/r/57521/diff/1/


Testing
-------

PENDING...


Thanks,

Jonathan Hurley

Reply via email to