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/11 21:31:00 UTC

ambari git commit: AMBARI-15743 - Add ignore-bad-hosts flag to hawq activate standby custom action (bhuvnesh2703)

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 <bc...@pivotal.io>
Authored: Mon Apr 11 12:33:02 2016 -0700
Committer: Bhuvnesh Chaudhary <bc...@pivotal.io>
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