Edit webhcat-site.xml
file, to add the following
information:
</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>