You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2016/01/21 20:46:37 UTC
[5/5] hbase git commit: HBASE-15147 Shell should use
Admin.listTableNames() instead of Admin.listTables()
HBASE-15147 Shell should use Admin.listTableNames() instead of Admin.listTables()
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/886c70d0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/886c70d0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/886c70d0
Branch: refs/heads/branch-1.0
Commit: 886c70d0d95b95ddd928cd5bc1e1fc83b1de2f42
Parents: f1e1312
Author: Enis Soztutar <en...@apache.org>
Authored: Thu Jan 21 11:09:02 2016 -0800
Committer: Enis Soztutar <en...@apache.org>
Committed: Thu Jan 21 11:13:08 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/886c70d0/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 4aa715f..749ec50 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -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
#----------------------------------------------------------------------------------------------