hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenh...@apache.org
Subject hbase git commit: HBASE-16111 Truncate preserve shell command is broken
Date Mon, 27 Jun 2016 08:26:55 GMT
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 <chenheng@apache.org>
Authored: Mon Jun 27 15:06:51 2016 +0800
Committer: chenheng <chenheng@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


Mime
View raw message