Repository: ambari Updated Branches: refs/heads/trunk a8bebef30 -> a55c055a8
AMBARI-15905: Add ignore-bad-hosts flag to hawq remove standby custom action to avoid failures when a segment host is down (bhuvnesh2703) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a55c055a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a55c055a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a55c055a Branch: refs/heads/trunk Commit: a55c055a8df179d7408520b9f11c795b18468406 Parents: a8bebef Author: Bhuvnesh Chaudhary <bchaudh...@pivotal.io> Authored: Fri Apr 15 12:12:44 2016 -0700 Committer: Bhuvnesh Chaudhary <bchaudh...@pivotal.io> Committed: Fri Apr 15 12:12:44 2016 -0700 ---------------------------------------------------------------------- .../common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a55c055a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py index a2f9c33..cb4ac21 100644 --- a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py +++ b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py @@ -92,7 +92,7 @@ class HawqMaster(Script): def remove_hawq_standby(self, env): Logger.info("Removing HAWQ Standby Master ...") - utils.exec_hawq_operation(hawq_constants.INIT, "{0} -a -v -r".format(hawq_constants.STANDBY)) + utils.exec_hawq_operation(hawq_constants.INIT, "{0} -a -v -r --ignore-bad-hosts".format(hawq_constants.STANDBY)) if __name__ == "__main__": HawqMaster().execute()