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

Update grant/revoke error message to provide more information about the principal type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Ranger
    • None

    Description

      In related to this: https://issues.apache.org/jira/browse/IMPALA-8551

      when granting/revoking to an invalid user/group, Ranger only throws a generic Exception which a generic error message, such as "HTTP: 400: foo is Not Found". This could happen when:

      • grantor is an invalid user
      • the target grant user is invalid
      • the target grant group is invalid.

      It would be nice if Ranger could either throw a specialized exception or update the error message to provide more information.

      Attachments

        Issue Links

          Activity

            People

              rmani Ramesh Mani
              fredyw Fredy Wijaya
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: