Enable User Impersonation
On non-secure clusters
Procedure
On secure (MAPR-SASL and Kerberos) clusters
Procedure
On both secure and non-secure clusters
Procedure
On nodes where the Resource Manager and the Node Manager are
installed, set the following properties in the
/opt/mapr/hadoop/hadoop-<version>/etc/hadoop/core-site.xml
file:
<property>
<name>hadoop.proxyuser.mapr.groups</name>
<value>*</value>
<description>Allow the superuser mapr to impersonate any member of any group</description>
</property>
<property>
<name>hadoop.proxyuser.mapr.hosts</name>
<value>*</value>
<description>The superuser can connect from any host to impersonate a user</description>
</property>
Results
WARNING
The impersonated user must have write permissions to
/user/hive/warehouse and /user/mapr-user/tmp/hive
directories.