Repository: ambari
Updated Branches:
  refs/heads/trunk 5465578c6 -> 02b2cb8b9


AMBARI-5559 - Start Hadoop Cluster Service for YARN never finishes successfully


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6de58738
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6de58738
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6de58738

Branch: refs/heads/trunk
Commit: 6de58738895236b9e5c397baec1d032fd2205e1b
Parents: 5465578
Author: Artem Baranchuk <[email protected]>
Authored: Thu Apr 24 18:19:24 2014 +0300
Committer: Artem Baranchuk <[email protected]>
Committed: Fri Apr 25 00:01:35 2014 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ambari/msi/ClusterDefinition.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6de58738/contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java
----------------------------------------------------------------------
diff --git 
a/contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java
 
b/contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java
index d483ff8..38e487c 100644
--- 
a/contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java
+++ 
b/contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java
@@ -376,7 +376,7 @@ public class ClusterDefinition {
             Set<String> componentNames = entry.getValue();
 
             for (String componentName : componentNames) {
-              if(state.equals(getHostComponentState(hostName, componentName))) 
continue;
+              if(isClientOnlyComponent(componentName) || 
state.equals(getHostComponentState(hostName, componentName))) continue;
               requestId = 
recordProcess(stateProvider.setRunningState(hostName, componentName, s), 
requestId,
                       "Set service " + serviceName + " state to " + s);
             }

Reply via email to