ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abaranc...@apache.org
Subject git commit: AMBARI-5429 - Host state is always UNHEALTHY even if all services STARTED
Date Thu, 10 Apr 2014 19:30:51 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 60dc78f95 -> e69c9a3c7


AMBARI-5429 - Host state is always UNHEALTHY even if all services STARTED


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

Branch: refs/heads/trunk
Commit: e69c9a3c7af48019eb3bfee58cc7090254ab9c16
Parents: 60dc78f
Author: Artem Baranchuk <abaranchuk@hortonworks.com>
Authored: Thu Apr 10 22:08:14 2014 +0300
Committer: Artem Baranchuk <abaranchuk@hortonworks.com>
Committed: Thu Apr 10 22:29:28 2014 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ambari/msi/ClusterDefinition.java      | 1 +
 contrib/ambari-scom/pom.xml                                         | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e69c9a3c/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 b154a42..d483ff8 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
@@ -315,6 +315,7 @@ public class ClusterDefinition {
         if (hostEntry.getKey().equals(hostName)) {
           Set<String> componentNames = hostEntry.getValue();
           for (String componentName : componentNames) {
+            if (isClientOnlyComponent(componentName)) continue;
             if (stateProvider.getRunningState(hostName, componentName) == StateProvider.State.Unknown)
{
               return "UNHEALTHY";
             }

http://git-wip-us.apache.org/repos/asf/ambari/blob/e69c9a3c/contrib/ambari-scom/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/pom.xml b/contrib/ambari-scom/pom.xml
index bf483e1..fce3ed2 100644
--- a/contrib/ambari-scom/pom.xml
+++ b/contrib/ambari-scom/pom.xml
@@ -61,6 +61,7 @@
                         <exclude>**/*.rtf</exclude>
                         <exclude>**/*.snk</exclude>
                         <exclude>**/*.cs</exclude>
+                        <exclude>**/*.json</exclude>
                     </excludes>
                 </configuration>
                 <executions>


Mime
View raw message