Madhan Neethiraj created RANGER-4891:
----------------------------------------
Summary: replace use of PrivilegedAction with
PrivilegedExceptionAction in calls to UserGroupInfomation.doAs()
Key: RANGER-4891
URL: https://issues.apache.org/jira/browse/RANGER-4891
Project: Ranger
Issue Type: Improvement
Components: plugins
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
{{UserGroupInformation.doAs(PrivilegedAction<T> action)}} method was removedĀ in
Trino in a [recent
update|https://github.com/trinodb/trino-hadoop-apache/pull/45]. This resulted
in Ranger authorizer to fail to download policies/tags/roles from Ranger admin
server. To address this issue, {{PrivilegedAction}} should be replaced with
{{PrivilegedExceptionAction}} in calls to {{UserGroupInformation.doAs()}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)