hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-19140 hbase-cleanup.sh uses deprecated call to remove files in hdfs
Date Wed, 01 Nov 2017 17:30:55 GMT
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 <yuzhihong@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 <generic13@gmail.com>
Authored: Tue Oct 31 15:58:36 2017 -0400
Committer: tedyu <yuzhihong@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;


Mime
View raw message