How do I connect to hive with Kerberos?

What is Kerberos authentication in Hive?

HiveServer supports authentication of clients using Kerberos or user/password validation backed by LDAP. If you configure HiveServer to use Kerberos authentication, HiveServer acquires a Kerberos ticket during startup. HiveServer requires a principal and keytab file specified in the configuration.

How do I connect to hive with Beeline?

Start Beeline to Connect to Hive To start Beeline, run beeline shell which is located at $HIVE_HOME/bin directory. This prompts you to an interactive Hive Beeline CLI Shell where you can run HiveQL commands. You can enter ! help on CLI to get all commands that are supported.

How do I connect to Hive with Beeline?

Start Beeline to Connect to Hive To start Beeline, run beeline shell which is located at $HIVE_HOME/bin directory. This prompts you to an interactive Hive Beeline CLI Shell where you can run HiveQL commands. You can enter ! help on CLI to get all commands that are supported.

Published
Categorized as No category