Enable Impersonation for Oozie
About this task
To enable impersonation for Oozie:
Procedure
-
Add the following configuration properties to the
oozie-site.xml file:
oozie.service.ProxyUserService.proxyuser.#USER#.hosts
oozie.service.ProxyUserService.proxyuser.#USER#.groups
-
Replace
#USER#
with the username of the proxy that can perform "doAs" operations. For the host property, you can add a list of host names as the value. For the group property, you can add a list of groups as the value. Alternatively, you can add a wildcard character (*
) as the value for host and group properties. To add multiple users, copy the property and replace#USER#
with the proxy user name.Host Example:<property> <name>oozie.service.ProxyUserService.proxyuser.mapr.hosts</name> <value>*</value> </property>
Group Example:<property> <name>oozie.service.ProxyUserService.proxyuser.mapr.groups</name> <value>*</value> </property>