[
https://issues.apache.org/jira/browse/RANGER-4891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-4891:
-------------------------------------
Attachment: RANGER-4891.patch
> 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
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: RANGER-4891.patch
>
>
> {{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)