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}";
|
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;
|
||||||
|
|
Loading…
Reference in New Issue