You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2015/10/06 12:28:22 UTC

ambari git commit: AMBARI-13319. Flume summary: there are no hosts after page refresh (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 401161157 -> 6b8f69243


AMBARI-13319. Flume summary: there are no hosts after page refresh (akovalenko)


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

Branch: refs/heads/trunk
Commit: 6b8f692437a923510c60b157aceef57e749c271b
Parents: 4011611
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Tue Oct 6 13:06:27 2015 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Tue Oct 6 13:28:03 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/mappers/service_metrics_mapper.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6b8f6924/ambari-web/app/mappers/service_metrics_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/service_metrics_mapper.js b/ambari-web/app/mappers/service_metrics_mapper.js
index 9fc3d70..5910574 100644
--- a/ambari-web/app/mappers/service_metrics_mapper.js
+++ b/ambari-web/app/mappers/service_metrics_mapper.js
@@ -283,8 +283,8 @@ App.serviceMetricsMapper = App.QuickDataMapper.create({
     } else if (item && item.ServiceInfo && item.ServiceInfo.service_name == "FLUME") {
       finalJson = this.flumeMapper(item);
       finalJson.rand = Math.random();
-      App.store.load(App.FlumeService, finalJson);
       App.store.loadMany(App.FlumeAgent, finalJson.agentJsons);
+      App.store.load(App.FlumeService, finalJson);
     } else if (item && item.ServiceInfo && item.ServiceInfo.service_name == "YARN") {
       finalJson = this.yarnMapper(item);
       finalJson.rand = Math.random();