From 86ad19bea615c418e12415ed021d7fa3e277d488 Mon Sep 17 00:00:00 2001 From: Artem Ervits Date: Tue, 31 Oct 2017 15:58:36 -0400 Subject: [PATCH] HBASE-19140 hbase-cleanup.sh uses deprecated call to remove files in hdfs --- bin/hbase-cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hbase-cleanup.sh b/bin/hbase-cleanup.sh index 596e366a30..3a764df9b9 100755 --- a/bin/hbase-cleanup.sh +++ b/bin/hbase-cleanup.sh @@ -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; -- 2.13.5 (Apple Git-94)