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:
mbertozzi 2013-08-26 20:18:21 +00:00
parent aa2adfa70e
commit d003a429b4
1 changed files with 2 additions and 2 deletions

View File

@ -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()