Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How do Ranger YARN policies work?

avatar
Super Collaborator

What is the default/fallback strategy for Ranger ACLs with YARN? Are the Ranger ACLs working in a hierarchical fashion as the plain YARN ACLs?

1 ACCEPTED SOLUTION

avatar

For Ranger YARN policies to be in affect you can turn off YARN ACLs

  • Ambari > YARN > Custom ranger-yarn-security > add below property and restart YARN
    • ranger.add-yarn-authorization = false

https://github.com/abajwa-hw/security-workshops/blob/master/Setup-ranger-23.md#yarn-audit-exercises-...

I looked in the official docs but I did not see this mentioned

View solution in original post

2 REPLIES 2

avatar

For Ranger YARN policies to be in affect you can turn off YARN ACLs

  • Ambari > YARN > Custom ranger-yarn-security > add below property and restart YARN
    • ranger.add-yarn-authorization = false

https://github.com/abajwa-hw/security-workshops/blob/master/Setup-ranger-23.md#yarn-audit-exercises-...

I looked in the official docs but I did not see this mentioned

avatar
Master Mentor