Ordinary users cannot update the Ranger policy using the spark client

Ordinary users cannot update the Ranger policy using the spark client

Error picture:

insert image description here

 WARN org.apache.ranger.admin.client.RangerAdminRESTClient: Error getting Roles. secureMode=true, [email protected] (auth:KERBEROS),response=f"httpStatusCode":403,"statusCode":0serviceName=ranger-hive-service

Solution: Check the official configuration of
policy.download.auth.users and only support 2 ways of writing 1. Set it as a wildcard *, allowing any user to access and download the policy file 2. Set the user list, for example: user1, user2, user3... PS: admin Permissions can directly download policies Operation: (Official configuration 1 is adopted)





insert image description here
insert image description here

verify:
insert image description here

Guess you like

Origin blog.csdn.net/qq_43688472/article/details/132673306