Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3850311356 for ; Mon, 24 Mar 2014 15:46:56 +0000 (UTC) Received: (qmail 40481 invoked by uid 500); 24 Mar 2014 15:46:55 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 39013 invoked by uid 500); 24 Mar 2014 15:46:53 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 38785 invoked by uid 99); 24 Mar 2014 15:46:49 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 15:46:49 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C535F8B504E; Mon, 24 Mar 2014 15:46:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ababiichuk@apache.org To: commits@ambari.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-5185 Unable to delete host even when all host components are in INIT state. (ababiichuk) Date: Mon, 24 Mar 2014 15:46:48 +0000 (UTC) Repository: ambari Updated Branches: refs/heads/branch-1.5.0 73b6b830f -> a1ea2258f AMBARI-5185 Unable to delete host even when all host components are in INIT state. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a1ea2258 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a1ea2258 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a1ea2258 Branch: refs/heads/branch-1.5.0 Commit: a1ea2258fbc4ec695f7b6ef3297de18ee9ef2622 Parents: 73b6b83 Author: aBabiichuk Authored: Mon Mar 24 17:38:26 2014 +0200 Committer: aBabiichuk Committed: Mon Mar 24 17:46:27 2014 +0200 ---------------------------------------------------------------------- ambari-web/app/controllers/main/host/details.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a1ea2258/ambari-web/app/controllers/main/host/details.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/host/details.js b/ambari-web/app/controllers/main/host/details.js index f4b2068..95ac8e2 100644 --- a/ambari-web/app/controllers/main/host/details.js +++ b/ambari-web/app/controllers/main/host/details.js @@ -1050,6 +1050,7 @@ App.MainHostDetailsController = Em.Controller.extend({ var stoppedStates = [App.HostComponentStatus.stopped, App.HostComponentStatus.install_failed, App.HostComponentStatus.upgrade_failed, + App.HostComponentStatus.init, App.HostComponentStatus.unknown]; var masterComponents = []; var runningComponents = [];