Repository: hbase Updated Branches: refs/heads/branch-1 a9c008344 -> 27dd1156f refs/heads/branch-1.0 f1e1312f9 -> 886c70d0d refs/heads/branch-1.1 72bc50f5f -> 5a3e2abc0 refs/heads/branch-1.2 d3ce4cdce -> bcc575c35 refs/heads/master 1d2b0d831 -> 110274b33
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/110274b3 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/110274b3 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/110274b3 Branch: refs/heads/master Commit: 110274b33535db8f8dc1ecd4406c3c09b162a4a8 Parents: 1d2b0d8 Author: Enis Soztutar <e...@apache.org> Authored: Thu Jan 21 11:09:02 2016 -0800 Committer: Enis Soztutar <e...@apache.org> Committed: Thu Jan 21 11:09:02 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/110274b3/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 c61b598..82f0700 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 #----------------------------------------------------------------------------------------------