You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2013/11/14 18:40:28 UTC

git commit: AMBARI-3769 Visible HbaseMaster in components list after it was removed. (atkach)

Updated Branches:
  refs/heads/trunk 55b61a9d0 -> e3de66656


AMBARI-3769 Visible HbaseMaster in components list after it was removed. (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/e3de6665
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/e3de6665
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/e3de6665

Branch: refs/heads/trunk
Commit: e3de66656a3b3b755e86c0198c0462e6ed92d06a
Parents: 55b61a9
Author: atkach <an...@gmail.com>
Authored: Thu Nov 14 19:40:24 2013 +0200
Committer: atkach <an...@gmail.com>
Committed: Thu Nov 14 19:40:24 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/mappers/hosts_mapper.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/e3de6665/ambari-web/app/mappers/hosts_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/hosts_mapper.js b/ambari-web/app/mappers/hosts_mapper.js
index ac3f55c..81d1f45 100644
--- a/ambari-web/app/mappers/hosts_mapper.js
+++ b/ambari-web/app/mappers/hosts_mapper.js
@@ -173,6 +173,9 @@ App.hostsMapper = App.QuickDataMapper.create({
       if (JSON.stringify(current.disk_info) !== JSON.stringify(previous.disk_info)) {
         result.disk_info = current.disk_info;
       }
+      if (JSON.stringify(current.host_components) !== JSON.stringify(previous.host_components)) {
+        result.host_components = current.host_components;
+      }
       result.last_heart_beat_time = current.last_heart_beat_time;
       return result;
     }