hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1582587 - /hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/security.rb
Date Fri, 28 Mar 2014 03:29:44 GMT
Author: stack
Date: Fri Mar 28 03:29:44 2014
New Revision: 1582587

URL: http://svn.apache.org/r1582587
Log:
HBASE-10426 user_permission in security.rb calls non-existent UserPermission#getTable method

Modified:
    hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/security.rb

Modified: hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/security.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/security.rb?rev=1582587&r1=1582586&r2=1582587&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/security.rb (original)
+++ hbase/branches/0.96/hbase-shell/src/main/ruby/hbase/security.rb Fri Mar 28 03:29:44 2014
@@ -187,7 +187,7 @@ module Hbase
       count  = 0
       perms.each do |value|
         user_name = String.from_java_bytes(value.getUser)
-        table = (value.getTable != nil) ? value.getTable.toString() : ''
+        table = (value.getTableName != nil) ? value.getTableName.getNameAsString() : ''
         family = (value.getFamily != nil) ? org.apache.hadoop.hbase.util.Bytes::toStringBinary(value.getFamily)
: ''
         qualifier = (value.getQualifier != nil) ? org.apache.hadoop.hbase.util.Bytes::toStringBinary(value.getQualifier)
: ''
 



Mime
View raw message