Enabling Impersonation on a Non-Secure Cluster
About this task
Procedure
-
Install the
mapr-hbasepackage 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 HPE Data Fabric Database. -
Enable simple authentication via the REST Gateway by appending the following
property to the
hbase-site.xmlfile (/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.<property> <name>hbase.rest.authentication.type</name> <value>simple</value> </property> -
Set the following environment variable to enable impersonation:
export MAPR_IMPERSONATION_ENABLED=1 -
Start the REST Gateway server as the MAPR_USER.
/opt/mapr/hbase/hbase<hbase_version>/bin/hbase-daemon.sh start rest -p port