hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [3/5] hbase git commit: HBASE-15147 Shell should use Admin.listTableNames() instead of Admin.listTables()
Date Thu, 21 Jan 2016 19:46:35 GMT
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/bcc575c3
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bcc575c3
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bcc575c3

Branch: refs/heads/branch-1.2
Commit: bcc575c3506fbe28204b76d5e41fae31d6cb078c
Parents: d3ce4cd
Author: Enis Soztutar <enis@apache.org>
Authored: Thu Jan 21 11:09:02 2016 -0800
Committer: Enis Soztutar <enis@apache.org>
Committed: Thu Jan 21 11:10:26 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/bcc575c3/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 d406758..a755a32 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
 
     #----------------------------------------------------------------------------------------------


Mime
View raw message