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

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

    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

        1. RANGER-4891.patch
          24 kB
          Madhan Neethiraj

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: