You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2014/02/14 00:19:32 UTC
git commit: AMBARI-4643. Restart All fails for Client only
components. Fix for transition. (swagle)
Updated Branches:
refs/heads/trunk 0576626e6 -> 5ccaaa2e4
AMBARI-4643. Restart All fails for Client only components. Fix for transition. (swagle)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5ccaaa2e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5ccaaa2e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5ccaaa2e
Branch: refs/heads/trunk
Commit: 5ccaaa2e4e0346c8c9369ccdca1490f7825f0861
Parents: 0576626
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Thu Feb 13 14:30:42 2014 -0800
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Thu Feb 13 15:19:27 2014 -0800
----------------------------------------------------------------------
.../server/state/svccomphost/ServiceComponentHostImpl.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/5ccaaa2e/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
index 94ae38a..c041843 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
@@ -379,6 +379,10 @@ public class ServiceComponentHostImpl implements ServiceComponentHost {
State.INSTALLING,
ServiceComponentHostEventType.HOST_SVCCOMP_OP_IN_PROGRESS,
new ServiceComponentHostOpInProgressTransition())
+ .addTransition(State.INSTALLED,
+ State.INSTALLED,
+ ServiceComponentHostEventType.HOST_SVCCOMP_OP_IN_PROGRESS,
+ new ServiceComponentHostOpInProgressTransition())
.addTransition(State.INSTALLING,
State.INSTALL_FAILED,
ServiceComponentHostEventType.HOST_SVCCOMP_OP_FAILED,