HBASE-15147 Shell should use Admin.listTableNames() instead of Admin.listTables()

This commit is contained in:
Enis Soztutar 2016-01-21 11:09:02 -08:00
parent 1d2b0d8311
commit 110274b335
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module Hbase
#----------------------------------------------------------------------------------------------
# Returns a list of tables in hbase
def list(regex = ".*")
@admin.listTables(regex).map { |t| t.getNameAsString }
@admin.listTableNames(regex).map { |t| t.getNameAsString }
end
#----------------------------------------------------------------------------------------------