incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject git commit: AMBARI-3357 Add ha_status property to status mapper request. (atkach)
Date Fri, 27 Sep 2013 11:35:26 GMT
Updated Branches:
  refs/heads/branch-1.4.1 e725d44b3 -> 187d5b00d


AMBARI-3357 Add ha_status property to status mapper request. (atkach)


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

Branch: refs/heads/branch-1.4.1
Commit: 187d5b00d7a002394540eb970d2dea2e21847134
Parents: e725d44
Author: atkach <andrey91.07@gmail.com>
Authored: Fri Sep 27 14:35:08 2013 +0300
Committer: atkach <andrey91.07@gmail.com>
Committed: Fri Sep 27 14:35:21 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/global/cluster_controller.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/187d5b00/ambari-web/app/controllers/global/cluster_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/cluster_controller.js b/ambari-web/app/controllers/global/cluster_controller.js
index db5f737..766d343 100644
--- a/ambari-web/app/controllers/global/cluster_controller.js
+++ b/ambari-web/app/controllers/global/cluster_controller.js
@@ -248,7 +248,8 @@ App.ClusterController = Em.Controller.extend({
       return false;
     }
     var testUrl = App.get('isHadoop2Stack') ? '/data/dashboard/HDP2/services.json':'/data/dashboard/services.json';
-    var servicesUrl = this.getUrl(testUrl, '/services?fields=ServiceInfo,components/host_components/HostRoles/desired_state,components/host_components/HostRoles/state');
+    //desired_state property is eliminated since calculateState function is commented out,
it become useless
+    var servicesUrl = this.getUrl(testUrl, '/services?fields=ServiceInfo,components/host_components/HostRoles/state,components/host_components/HostRoles/ha_status');
 
     App.HttpClient.get(servicesUrl, App.statusMapper, {
       complete: callback


Mime
View raw message