You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by bh...@apache.org on 2016/04/15 21:06:19 UTC
ambari git commit: AMBARI-15905: Add ignore-bad-hosts flag to hawq
remove standby custom action to avoid failures when a segment host is down
(bhuvnesh2703)
Repository: ambari
Updated Branches:
refs/heads/branch-2.2 96e6fcec3 -> fa6c29817
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/fa6c2981
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fa6c2981
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fa6c2981
Branch: refs/heads/branch-2.2
Commit: fa6c2981736ba6fc69163ba65ddc00827261e809
Parents: 96e6fce
Author: Bhuvnesh Chaudhary <bc...@pivotal.io>
Authored: Fri Apr 15 12:08:39 2016 -0700
Committer: Bhuvnesh Chaudhary <bc...@pivotal.io>
Committed: Fri Apr 15 12:08:39 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/fa6c2981/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 5e6ca2c..91d4a25 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()