HBASE-9340 revoke 'user' throws ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1517684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aa2adfa70e
commit
d003a429b4
|
@ -141,8 +141,8 @@ module Hbase
|
|||
end
|
||||
else
|
||||
# invoke cp endpoint to perform access controlse
|
||||
org.apache.hadoop.hbase.protobuf.ProtobufUtil.revoke(
|
||||
protocol, user)
|
||||
perm = org.apache.hadoop.hbase.security.access.Permission.new(''.to_java_bytes)
|
||||
org.apache.hadoop.hbase.protobuf.ProtobufUtil.revoke(protocol, user, perm.getActions())
|
||||
end
|
||||
ensure
|
||||
meta_table.close()
|
||||
|
|
Loading…
Reference in New Issue