Configuring the Hive Delegation Token Store
You need to enable Hive Delegation Token Store implementation as the first step in configuring HiveServer high availability using a load balancer. You also need to understand the interaction between Oozie and HS2 with regard to the delegation token.
- In Cloudera Manager, click .
Take one of the following actions:
- If you have a cluster secured by Kerberos, search for Hive Delegation Token Store, which specifies storage for the Kerberos token as described below.
- If you have an unsecured cluster, skip the next step.
org.apache.hadoop.hive.thrift.DBTokenStore, and save the change.Storage for the Kerberos delegation token is defined by the
hive.cluster.delegation.token.store.classproperty. The available choices are Zookeeper, the Metastore, and memory. Cloudera recommends using the database by setting the
- Add HiveServer (HS2) roles as described in the next topic.