Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 85a5e975f -> 9f48b0c30


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/9f48b0c3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9f48b0c3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9f48b0c3

Branch: refs/heads/branch-2.2
Commit: 9f48b0c30740464d9c927b15303f5fdf664d7ccc
Parents: 85a5e97
Author: Bhuvnesh Chaudhary <[email protected]>
Authored: Mon Apr 11 12:34:10 2016 -0700
Committer: Bhuvnesh Chaudhary <[email protected]>
Committed: Mon Apr 11 12:34:10 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/9f48b0c3/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 db155a0..6402230 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

Reply via email to