Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4891

replace use of PrivilegedAction with PrivilegedExceptionAction in calls to UserGroupInfomation.doAs()

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.6.0
    • plugins
    • None

    Description

      UserGroupInformation.doAs(PrivilegedAction<T> action) method was removedĀ in Trino in a recent update. 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().

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment