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
8a3db6eaaf
commit
d407e37cf4
|
@ -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