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
|
end
|
||||||
else
|
else
|
||||||
# invoke cp endpoint to perform access controlse
|
# invoke cp endpoint to perform access controlse
|
||||||
org.apache.hadoop.hbase.protobuf.ProtobufUtil.revoke(
|
perm = org.apache.hadoop.hbase.security.access.Permission.new(''.to_java_bytes)
|
||||||
protocol, user)
|
org.apache.hadoop.hbase.protobuf.ProtobufUtil.revoke(protocol, user, perm.getActions())
|
||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
meta_table.close()
|
meta_table.close()
|
||||||
|
|
Loading…
Reference in New Issue