HBASE-25948 Remove deprecated ZK command 'rmr' in hbase-cleanup.sh (#3343)

Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit bd4c4cec1f)
This commit is contained in:
mokai 2021-05-31 13:31:45 +08:00 committed by Pankaj Kumar
parent 9beb278d8b
commit 920a9568b4
1 changed files with 2 additions and 2 deletions

View File

@ -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)