Ambari Views Guide
Also available as:
PDF
loading table of contents...

Kerberos Setup for Hive Views

To set up basic Kerberos for views, see "Set Up Kerberos for Ambari Server" in the Ambari Security Guide. After you have set up basic Kerberos for the Hive View, Hive requires the following additional settings:

Table 8.4. Kerberos Settings for Hive Views

Property

Value

WebHDFS Authentication

auth=KERBEROS;proxyuser=<ambari-principal>

Hive Authentication

KERBEROS and the principal is set to the same principal that is specified in hive-site.xml for hive.server2.authentication.kerberos.principal . For example:

auth=KERBEROS;principal=hive/_HOST@EXAMPLE.COM;hive.server2.proxy.user=${username}


Figure 8.4. Hive View Kerberos Configuration Example: Hive Authentication Field


Figure 8.5. Hive View Kerberos Configuration Example: HiveServer2 Host Field