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

Review request for Ambari, Mahadev Konar and Sumit Mohanty.


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


Repository: ambari


Description
-------

*Steps to reproduce:*
# Start 10 node cluster.
# On Step-9 of installer wizard while ongoing install command, Stopped 
ambari-agent on 9 hosts.
# Hit Retry button.
# Some of the host_components ended up in INSTALL_FAILED state, some in UNKNOWN 
state and others in INSTALLING state. Host components in INSTALLING state never 
transitioned to any other state.

*Reason*:
The _ActionScehduler.doWork()_ depends on the HostRoles to timeout before 
aborting the operation in order to update Host Component status.
This particular issue is caused by a the timing of the change in Host state to 
UNKNOWN, which happens after processing of in progress stages and before Abort. 


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java
 601930d 
  
ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
 b90027b 
  
ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java
 de6c98b 

Diff: https://reviews.apache.org/r/17978/diff/


Testing
-------


Thanks,

Sid Wagle

Reply via email to