HBASE-16111 Truncate preserve shell command is broken

This commit is contained in:
chenheng 2016-06-27 15:06:51 +08:00
parent fc4b8aa89d
commit e05f527991
1 changed files with 1 additions and 1 deletions

View File

@ -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