You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2013/09/27 01:10:13 UTC
svn commit: r1526743 -
/hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/admin.rb
Author: jmhsieh
Date: Thu Sep 26 23:10:12 2013
New Revision: 1526743
URL: http://svn.apache.org/r1526743
Log:
HBASE-9439 shell command list shows something not meaningful
Modified:
hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/admin.rb
Modified: hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/admin.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/admin.rb?rev=1526743&r1=1526742&r2=1526743&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/admin.rb (original)
+++ hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/admin.rb Thu Sep 26 23:10:12 2013
@@ -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
#----------------------------------------------------------------------------------------------