HBASE-9337 shell 'user_permission' throws no method 'toStringBinary' for (o.a.h.h.TableName)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1517665 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d0be323947
commit
aa2adfa70e
|
@ -187,7 +187,7 @@ module Hbase
|
||||||
count = 0
|
count = 0
|
||||||
perms.each do |value|
|
perms.each do |value|
|
||||||
user_name = String.from_java_bytes(value.getUser)
|
user_name = String.from_java_bytes(value.getUser)
|
||||||
table = (value.getTable != nil) ? org.apache.hadoop.hbase.util.Bytes::toStringBinary(value.getTable) : ''
|
table = (value.getTable != nil) ? value.getTable.toString() : ''
|
||||||
family = (value.getFamily != nil) ? org.apache.hadoop.hbase.util.Bytes::toStringBinary(value.getFamily) : ''
|
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) : ''
|
qualifier = (value.getQualifier != nil) ? org.apache.hadoop.hbase.util.Bytes::toStringBinary(value.getQualifier) : ''
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue