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 E3D1319120 for ; Mon, 11 Apr 2016 19:31:00 +0000 (UTC) Received: (qmail 33609 invoked by uid 500); 11 Apr 2016 19:31:00 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 33579 invoked by uid 500); 11 Apr 2016 19:31:00 -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 33570 invoked by uid 99); 11 Apr 2016 19:31:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 19:31:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 961F2DFC55; Mon, 11 Apr 2016 19:31:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhuvnesh2703@apache.org To: commits@ambari.apache.org Message-Id: <7d5a02c229544eca81d413956876acf4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-15743 - Add ignore-bad-hosts flag to hawq activate standby custom action (bhuvnesh2703) Date: Mon, 11 Apr 2016 19:31:00 +0000 (UTC) Repository: ambari Updated Branches: refs/heads/trunk 64c721182 -> 4c91a694d AMBARI-15743 - Add ignore-bad-hosts flag to hawq activate standby custom action (bhuvnesh2703) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4c91a694 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4c91a694 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4c91a694 Branch: refs/heads/trunk Commit: 4c91a694ddf47f558bd3331a385cd88fe3ea5e89 Parents: 64c7211 Author: Bhuvnesh Chaudhary Authored: Mon Apr 11 12:33:02 2016 -0700 Committer: Bhuvnesh Chaudhary Committed: Mon Apr 11 12:33:02 2016 -0700 ---------------------------------------------------------------------- .../common-services/HAWQ/2.0.0/package/scripts/hawqstandby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/4c91a694/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqstandby.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqstandby.py b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqstandby.py index 2e5dccf..ddf917b 100644 --- a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqstandby.py +++ b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqstandby.py @@ -56,7 +56,7 @@ class HawqStandby(Script): def activate_hawq_standby(self, env): import utils - utils.exec_hawq_operation(hawq_constants.ACTIVATE, "{0} -a -M {1} -v".format(hawq_constants.STANDBY, hawq_constants.FAST)) + utils.exec_hawq_operation(hawq_constants.ACTIVATE, "{0} -a -M {1} -v --ignore-bad-hosts".format(hawq_constants.STANDBY, hawq_constants.FAST)) def resync_hawq_standby(self,env): import params