-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18610/
-----------------------------------------------------------
Review request for Ambari, Mahadev Konar and Sumit Mohanty.
Bugs: AMBARI-4878
https://issues.apache.org/jira/browse/AMBARI-4878
Repository: ambari
Description
-------
On a retry all the install commands succeed but the status of one of the
components in INSTALL_FAILED which causes the next START command to fail on UI.
Note:
{code}
17:31:38,216 WARN [qtp1459326258-137] ActionManager:142 - The task 27 is not
in progress, ignoring update
17:31:48,227 WARN [qtp1459326258-137] ActionManager:142 - The task 27 is not
in progress, ignoring update
17:31:54,997 WARN [qtp1459326258-137] HeartBeatHandler:346 - Operation failed
- may be retried. Service component host: OOZIE_SERVER, host: hostname1 Action
id1-1
{code}
that this is after all the tasks in request 1 were aborted. This part makes the
state of OOZIE_SERVER go into INSTALL_FAILED though the req 1 was aborted.
Any further update on success from the agent is ignored for this component.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionManager.java
789bbd6
ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java
0044c8e
ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
490df5e
Diff: https://reviews.apache.org/r/18610/diff/
Testing
-------
Thanks,
Sid Wagle