To the webhcat-site.xml
file, you must add the
following information:
Table 13.9. webhcat-site.xml
Property Name | Property Value | Description |
---|---|---|
templeton.kerberos.principal | HTTP/_HOST@EXAMPLE.COM | |
templeton.kerberos.keytab | /etc/security/keytabs/spnego.service.keytab | |
templeton.kerberos.secret | secret | |
templeton.kerberos.properties | hive.metastore.local=false, hive.metastore.uris=thrift://MetastoreHost_FQDN:9083, hive. metastore.sasl.enabled=true, hive.metastore.execute.setugi= true, hive.exec.mode.local.auto=false, hive.metastore.kerberos.principal=$HIVE_PRINCIPAL/_HOST@EXAMPLE.COM" |
The XML for these entries:
</property> <name>templeton.kerberos.principal</name> <value>HTTP/_HOST@EXAMPLE.COM</value> <description/> <property> <property> <name>templeton.kerberos.keytab</name> <value>/etc/security/keytabs/spnego.service.keytab</value> <description/> </property> <property> <name>templeton.kerberos.secret</name> <value>secret</value> <description/> </property> <property> <name>templeton.kerberos.properties</name> <value>hive.metastore.local=false, hive.metastore.uris=thrift://MetastoreHost_FQDN:9083, hive. metastore.sasl.enabled=true, hive.metastore.execute.setugi= true, hive.exec.mode.local.auto=false, hive.metastore.kerberos.principal=$HIVE_PRINCIPAL/_HOST@EXAMPLE.COM"</value> <description/> </property>