HBASE-19140 hbase-cleanup.sh uses deprecated call to remove files in hdfs

Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
Artem Ervits 2017-10-31 15:58:36 -04:00 committed by tedyu
parent 5e16e23fad
commit b3e438b9c5
1 changed files with 2 additions and 2 deletions

View File

@ -101,11 +101,11 @@ clean_up() {
execute_zk_command "rmr ${zparent}";
;;
--cleanHdfs)
execute_hdfs_command "-rmr ${hrootdir}"
execute_hdfs_command "-rm -R ${hrootdir}"
;;
--cleanAll)
execute_zk_command "rmr ${zparent}";
execute_hdfs_command "-rmr ${hrootdir}"
execute_hdfs_command "-rm -R ${hrootdir}"
;;
--cleanAcls)
execute_clean_acls;