You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2017/11/01 17:30:55 UTC
hbase git commit: HBASE-19140 hbase-cleanup.sh uses deprecated call
to remove files in hdfs
Repository: hbase
Updated Branches:
refs/heads/master 5e16e23fa -> b3e438b9c
HBASE-19140 hbase-cleanup.sh uses deprecated call to remove files in hdfs
Signed-off-by: tedyu <yu...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b3e438b9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b3e438b9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b3e438b9
Branch: refs/heads/master
Commit: b3e438b9c5be750694b3cec1f6f754635240d474
Parents: 5e16e23
Author: Artem Ervits <ge...@gmail.com>
Authored: Tue Oct 31 15:58:36 2017 -0400
Committer: tedyu <yu...@gmail.com>
Committed: Wed Nov 1 10:30:49 2017 -0700
----------------------------------------------------------------------
bin/hbase-cleanup.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/b3e438b9/bin/hbase-cleanup.sh
----------------------------------------------------------------------
diff --git a/bin/hbase-cleanup.sh b/bin/hbase-cleanup.sh
index 596e366..3a764df 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;