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:
parent
d164314489
commit
bd4c4cec1f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue