Enabling Impersonation for the mapr Superuser

Describes how to allow a mapr superuser to impersonate users.

About this task

Follow the steps below to enable impersonation in your MapR installation.

Procedure

  1. Open the following file in a text editor:
    /opt/mapr/hadoop/hadoop-<version>/conf/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 impersonate any user in any group.

    The groups setting (*) allows the mapr superuser to connect from any host to impersonate a user.

    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.