You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Sid Wagle <sw...@hortonworks.com> on 2014/02/12 02:15:31 UTC

Review Request 17978: Host Components stuck in Installing state

-----------------------------------------------------------
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


Re: Review Request 17978: Host Components stuck in Installing state

Posted by Mahadev Konar <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17978/#review34256
-----------------------------------------------------------

Ship it!


Ship It!

- Mahadev Konar


On Feb. 12, 2014, 1:15 a.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17978/
> -----------------------------------------------------------
> 
> (Updated Feb. 12, 2014, 1:15 a.m.)
> 
> 
> 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
> 
>