Authenticating with Kerberos
To authenticate to HBase using Kerberos, set the following properties:
• AuthScheme: Set this to NEGOTIATE
• KerberosKDC: Set this to the host name or IP Address of your Kerberos KDC machine.
• KerberosRealm: Set this to the realm of the HBase Kerberos principal. This will be the value after the '@' symbol (for instance, EXAMPLE.COM) of the hbase.regionserver.kerberos.principal of the hbase-site.xml file (for instance, hbase/MyHost@EXAMPLE.COM).
• KerberosSPN: Set this to the service and host of the HBase Kerberos Principal. This will be the value prior to the '@' symbol (for instance, hbase/MyHost) of the hbase.regionserver.kerberos.principal of the hbase-site.xml file (for instance, hbase/MyHost@EXAMPLE.COM).