HBASE-15147 Shell should use Admin.listTableNames() instead of Admin.listTables()
This commit is contained in:
parent
1d2b0d8311
commit
110274b335
|
@ -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
|
||||
|
||||
#----------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue