You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2016/06/27 08:26:55 UTC

hbase git commit: HBASE-16111 Truncate preserve shell command is broken

Repository: hbase
Updated Branches:
  refs/heads/master fc4b8aa89 -> e05f52799


HBASE-16111 Truncate preserve shell command is broken


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e05f5279
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e05f5279
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e05f5279

Branch: refs/heads/master
Commit: e05f527991356405ad7186dd48d9d06201695388
Parents: fc4b8aa
Author: chenheng <ch...@apache.org>
Authored: Mon Jun 27 15:06:51 2016 +0800
Committer: chenheng <ch...@apache.org>
Committed: Mon Jun 27 15:06:51 2016 +0800

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/admin.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e05f5279/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb
index 73a5863..73b78d8 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -490,7 +490,7 @@ module Hbase
     #----------------------------------------------------------------------------------------------
     # Truncates table while maintaing region boundaries (deletes all records by recreating the table)
     def truncate_preserve(table_name_str)
-      puts "Truncating '#{table}' table (it may take a while):"
+      puts "Truncating '#{table_name_str}' table (it may take a while):"
       table_name = TableName.valueOf(table_name_str)
       locator = @connection.getRegionLocator(table_name)
       begin