ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject git commit: AMBARI-3677 - Service state should accurately reflect state of host-components - fix typo
Date Fri, 08 Nov 2013 16:16:09 GMT
Updated Branches:
  refs/heads/trunk e508fdb4e -> dd0663dff


AMBARI-3677 - Service state should accurately reflect state of host-components - fix typo


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

Branch: refs/heads/trunk
Commit: dd0663dffd3fd8faa52dd59864ad9157f382070c
Parents: e508fdb
Author: tbeerbower <tbeerbower@hortonworks.com>
Authored: Fri Nov 8 10:58:52 2013 -0500
Committer: tbeerbower <tbeerbower@hortonworks.com>
Committed: Fri Nov 8 11:15:49 2013 -0500

----------------------------------------------------------------------
 .../server/controller/internal/ServiceResourceProvider.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/dd0663df/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
index 30928cf..2ef6005 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
@@ -870,7 +870,7 @@ class ServiceResourceProvider extends AbstractControllerResourceProvider
{
             StackId stackId = cluster.getDesiredStackVersion();
 
             ServiceComponentHostRequest request = new ServiceComponentHostRequest(clusterName,
-                serviceName, "NAMENODE", null, null, null);
+                serviceName, null, null, null, null);
 
             Set<ServiceComponentHostResponse> hostComponentResponses =
                 controller.getHostComponents(Collections.singleton(request));
@@ -949,7 +949,7 @@ class ServiceResourceProvider extends AbstractControllerResourceProvider
{
             StackId stackId = cluster.getDesiredStackVersion();
 
             ServiceComponentHostRequest request = new ServiceComponentHostRequest(clusterName,
-                serviceName, "NAMENODE", null, null, null);
+                serviceName, null, null, null, null);
 
             Set<ServiceComponentHostResponse> hostComponentResponses =
                 controller.getHostComponents(Collections.singleton(request));


Mime
View raw message