Using Basic Kerberos Authentication

If your HBase deployment supports Kerberos authentication through the REST API, then the Simba HBase ODBC Driver can authenticate the connection using Kerberos.

Note:

Kerberos must be installed and configured before you can use this authentication mechanism. For more information, see the MIT Kerberos documentation: http://web.mit.edu/kerberos/krb5-latest/doc/.

When you use Basic Kerberos authentication, the connector loads the credentials from the Kerberos credential cache, so the Kerberos ticket must be generated before you run the connector. To generate the ticket, run the kinit Kerberos command with the appropriate principal.

To configure Basic Kerberos authentication:

  1. Set the AUTHTYPE property to 2.
  2. Run the kinit command, using the following syntax, where [Principal] is the Kerberos user principal to use for authentication:
  3. kinit -k [Principal]

  4. Optionally, you can check the list of generated tickets by running the klist command.

You can now use the connector to authenticate through Kerberos and connect to your HBase database.