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 DD6FD109D9 for ; Wed, 31 Jul 2013 18:23:11 +0000 (UTC) Received: (qmail 93624 invoked by uid 500); 31 Jul 2013 18:23:11 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 93506 invoked by uid 500); 31 Jul 2013 18:23:11 -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 93446 invoked by uid 99); 31 Jul 2013 18:23:07 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 18:23:07 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 16215831A98; Wed, 31 Jul 2013 18:23:07 +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 Date: Wed, 31 Jul 2013 18:23:07 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: AMBARI-2777. Cannot save HDFS configs with SNN in MAINTENANCE mode. (yusaku) Updated Branches: refs/heads/trunk 37eb38256 -> 242a0227e AMBARI-2777. Cannot save HDFS configs with SNN in MAINTENANCE mode. (yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/242a0227 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/242a0227 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/242a0227 Branch: refs/heads/trunk Commit: 242a0227e8ba5ec86ffa2a7fb5a5607d5a368221 Parents: 7c8e240 Author: Yusaku Sako Authored: Tue Jul 30 19:15:40 2013 -0700 Committer: Yusaku Sako Committed: Wed Jul 31 11:22:53 2013 -0700 ---------------------------------------------------------------------- ambari-web/app/models/service.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/242a0227/ambari-web/app/models/service.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/models/service.js b/ambari-web/app/models/service.js index 6651117..faf4efb 100644 --- a/ambari-web/app/models/service.js +++ b/ambari-web/app/models/service.js @@ -91,7 +91,8 @@ App.Service = DS.Model.extend({ if ( _component.get('workStatus') !== App.HostComponentStatus.stopped && _component.get('workStatus') !== App.HostComponentStatus.install_failed && - _component.get('workStatus') !== App.HostComponentStatus.unknown + _component.get('workStatus') !== App.HostComponentStatus.unknown && + _component.get('workStatus') !== App.HostComponentStatus.maintenance ) { flag = false; runningHCs.addObject(_component);