Enabling Impersonation for the MapR Superuser

Provides a procedure necessary to implement superuser impersonation.

About this task

To enable impersonation in your MapR installation:

Procedure

  1. Open the following file in a text editor:
    /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/core-site.xml
  2. Add the following 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 connect from any host to impersonate a user.

    The groups setting (*) allows the mapr superuser to impersonate any user in any group.

    NOTE 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.
  3. Close the file, saving any changes that you made.