From bd4c4cec1ffff527d16178cf41882d7b516dc6a3 Mon Sep 17 00:00:00 2001 From: mokai Date: Mon, 31 May 2021 13:31:45 +0800 Subject: [PATCH] HBASE-25948 Remove deprecated ZK command 'rmr' in hbase-cleanup.sh (#3343) Signed-off-by: Pankaj Kumar --- bin/hbase-cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hbase-cleanup.sh b/bin/hbase-cleanup.sh index 3a764df9b99..cc5cc193e8b 100755 --- a/bin/hbase-cleanup.sh +++ b/bin/hbase-cleanup.sh @@ -98,13 +98,13 @@ execute_clean_acls() { clean_up() { case $1 in --cleanZk) - execute_zk_command "rmr ${zparent}"; + execute_zk_command "deleteall ${zparent}"; ;; --cleanHdfs) execute_hdfs_command "-rm -R ${hrootdir}" ;; --cleanAll) - execute_zk_command "rmr ${zparent}"; + execute_zk_command "deleteall ${zparent}"; execute_hdfs_command "-rm -R ${hrootdir}" ;; --cleanAcls)