Configure HBase to use Kerberos

About this task

Procedure

  1. 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>
  2. 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>
  3. Restart the HBase master and regionserver nodes.