From 27828464505e751b7d2809a19a5923100d43f128 Mon Sep 17 00:00:00 2001 From: Jonathan Hsieh Date: Thu, 26 Sep 2013 23:10:10 +0000 Subject: [PATCH] HBASE-9439 shell command list snows something not meaningful git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1526742 13f79535-47bb-0310-9956-ffa450edef68 --- hbase-shell/src/main/ruby/hbase/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index 7e8325ad7c5..0e5cd6e2f21 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -43,7 +43,7 @@ module Hbase #---------------------------------------------------------------------------------------------- # Returns a list of tables in hbase def list(regex = ".*") - Arrays.asList(@admin.getTableNames(regex)) + @admin.getTableNames(regex).to_a end #----------------------------------------------------------------------------------------------