Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E17AF1075B for ; Thu, 14 Nov 2013 19:40:29 +0000 (UTC) Received: (qmail 36739 invoked by uid 500); 14 Nov 2013 19:40:29 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 36717 invoked by uid 500); 14 Nov 2013 19:40:29 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 36710 invoked by uid 99); 14 Nov 2013 19:40:29 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 19:40:29 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 8B25C82A03C; Thu, 14 Nov 2013 19:40:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: yusaku@apache.org To: ambari-commits@incubator.apache.org Message-Id: <281f13c6ad2a4f9c904fc3971c40812c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-3769 Visible HbaseMaster in components list after it was removed. (atkach) Date: Thu, 14 Nov 2013 19:40:29 +0000 (UTC) Updated Branches: refs/heads/branch-1.4.2 a7f86fb3d -> 249ba1d5e 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/249ba1d5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/249ba1d5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/249ba1d5 Branch: refs/heads/branch-1.4.2 Commit: 249ba1d5efedf58a9620a7c12e7de8581009d4b3 Parents: a7f86fb Author: atkach Authored: Thu Nov 14 19:40:24 2013 +0200 Committer: Yusaku Sako Committed: Thu Nov 14 11:39:01 2013 -0800 ---------------------------------------------------------------------- ambari-web/app/mappers/hosts_mapper.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/249ba1d5/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; }