Enable Impersonation for the MapR Superuser
About this task
Follow the steps below to enable impersonation in your MapR installation.
Procedure
-
Open the
core-site.xml
file in a text editor. -
Add the following to the hadoop.proxyuser
properties:
<property> <name>hadoop.proxyuser.mapr.hosts</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.mapr.groups</name> <value>*</value> </property>
The
hosts
setting (*
) allows the mapr superuser to impersonate any user in any group.The
groups
setting (*
) allows the mapr superuser to connect from any host to impersonate a user.WARNING: Do not use anything other than a single asterisk here. Other parts of MapR ignore the values here and treat them as if each is set to a single asterisk. - Close the file after saving the changes.