Enabling Impersonation on a Secure Cluster

This section describes tasks to enable impersonation on a secure cluster.

To enable impersonation on a 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 variable in /opt/mapr/conf/env.sh:
  4. Start the REST Gateway server as the MAPR_USER.
    /opt/mapr/hbase/hbase­<hbase_version>/bin/hbase-daemon.sh start rest -p port