hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject hbase git commit: HBASE-19140 hbase-cleanup.sh uses deprecated call to remove files in hdfs
Date Wed, 01 Nov 2017 18:14:14 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 424d96207 -> 631f4e2cc


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/631f4e2c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/631f4e2c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/631f4e2c

Branch: refs/heads/branch-1.3
Commit: 631f4e2cca946c87bba781e4f32dc76b7285fdba
Parents: 424d962
Author: Artem Ervits <generic13@gmail.com>
Authored: Tue Oct 31 15:58:36 2017 -0400
Committer: Jan Hentschel <jan.hentschel@ultratendency.com>
Committed: Wed Nov 1 19:13:53 2017 +0100

----------------------------------------------------------------------
 bin/hbase-cleanup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/631f4e2c/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