Configure HBase to use Kerberos
About this task
Procedure
-
On all HBase regionserver nodes, update the hbase-site.xml
file by adding the following section:
<property> <name>hbase.regionserver.keytab.file</name> <value>/opt/mapr/conf/hbase.keytab</value> </property> <property> <name>hbase.coprocessor.region.classes</name> <value> org.apache.hadoop.hbase.security.token.TokenProvider,org.apache.hadoop.hbase.security.access.AccessController</value> </property>
-
On the HBase master node, update the hbase-site.xml file
by adding the following section:
<property> <name>hbase.master.keytab.file</name> <value>/opt/mapr/conf/hbase.keytab</value> </property> <property> <name>hbase.coprocessor.master.classes</name> <value>org.apache.hadoop.hbase.security.access.AccessController</value> </property>
- Restart the HBase master and regionserver nodes.