Add the following to the hbase-site.xml
file for every REST
gateway:
<property> <name>hbase.rest.kerberos.principal</name> <value>$USER/_HOST@HADOOP.LOCALDOMAIN</value> </property> <property> <name>hbase.rest.keytab.file</name> <value>/etc/hbase/conf/hbase.keytab</value> </property>
Substitute the appropriate principal and keytab file respectively.
The REST gateway authenticates with HBase using the supplied credentials. No authentication is performed by the REST gateway itself. All client access via the REST gateway uses the REST gateway's credentials and has its privileges.