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 Jan Hentschel
parent 8a3db6eaaf
commit d407e37cf4
1 changed files with 2 additions and 2 deletions

View File

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