HBASE-10426 user_permission in security.rb calls non-existent UserPermission#getTable method

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1561902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2014-01-27 22:59:41 +00:00
parent 31df31901f
commit f24956ee8a
1 changed files with 1 additions and 1 deletions

View File

@ -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) : ''