Enable Impersonation for the MapR Superuser

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

  1. Open the core-site.xml file in a text editor.
  2. 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.
  3. Close the file after saving the changes.