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

Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
This commit is contained in:
mokai 2021-05-31 13:31:45 +08:00 committed by GitHub
parent d164314489
commit bd4c4cec1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -98,13 +98,13 @@ execute_clean_acls() {
clean_up() { clean_up() {
case $1 in case $1 in
--cleanZk) --cleanZk)
execute_zk_command "rmr ${zparent}"; execute_zk_command "deleteall ${zparent}";
;; ;;
--cleanHdfs) --cleanHdfs)
execute_hdfs_command "-rm -R ${hrootdir}" execute_hdfs_command "-rm -R ${hrootdir}"
;; ;;
--cleanAll) --cleanAll)
execute_zk_command "rmr ${zparent}"; execute_zk_command "deleteall ${zparent}";
execute_hdfs_command "-rm -R ${hrootdir}" execute_hdfs_command "-rm -R ${hrootdir}"
;; ;;
--cleanAcls) --cleanAcls)