Optional: Configure Client-Side Operation for Secure Operation- REST Gateway
How to configure client-side a operation for secure operation (REST Gateway) when setting up Kerberos for non-Ambari clusters.
Add the following to the $HBASE_CONF_DIR/hbase-site.xml file for
every REST gateway:
<property>
<name>hbase.rest.keytab.file</name>
<value>$KEYTAB</value>
</property>
<property>
<name>hbase.rest.kerberos.principal</name>
<value>$USER/_HOST@HADOOP.LOCALDOMAIN</value>
</property>
Substitute the appropriate credential and keytab for $USER and $KEYTAB respectively.
The REST gateway will authenticate with HBase using the supplied credential. No
authentication will be performed by the REST gateway itself. All client access via the
REST gateway will use the REST gateway's credential and have its privilege.