You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2018/03/30 08:37:45 UTC

[ambari] 02/02: AMBARI-23373. Fix formatZKFC (aonishuk)

This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit f1afadc6b29b668f0210d96314b65df8d4554b07
Author: Andrew Onishuk <ao...@hortonworks.com>
AuthorDate: Tue Mar 27 22:01:01 2018 +0300

    AMBARI-23373. Fix formatZKFC (aonishuk)
---
 .../common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
index dcfad7e..677ccfa 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
@@ -59,7 +59,7 @@ class ZkfcSlave(Script):
     import params
     env.set_params(params)
 
-    Execute("hdfs zkfc -formatZK",
+    Execute("hdfs zkfc -formatZK -nonInteractive",
             user=params.hdfs_user,
             logoutput=True
     )

-- 
To stop receiving notification emails like this one, please contact
aonishuk@apache.org.