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:
parent
5e16e23fad
commit
b3e438b9c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue