Enabling Impersonation on a Non-Secure Cluster

To enable impersonation on a non-secure cluster, follow these steps:
  1. Install the mapr-hbase package on a cluster that is running version 4.0.2 or later. This package contains all of the HBase binaries. For installation details, see HBase Client and MapR-DB.
  2. Enable simple authentication via the REST Gateway by appending the following property to the hbase-site.xml file (/opt/mapr/hbase/hbase­<hbase_version>/conf/hbase-site.xml): The simple authentication protocol is a Hadoop pseudo authenticator that serves as an example and is part of the hadoop-common package.
  3. Set the following environment variable to enable impersonation:
  4. Start the REST Gateway server as the MAPR_USER.
    /opt/mapr/hbase/hbase­<hbase_version>/bin/hbase-daemon.sh start rest -p port