Create a Kerberos Principal and a keytab File for Hive Metastore
Skip this task if you are not using Hive.
On each node where a Hive Metastore is installed, create a Kerberos server identity and add it to a keytab file.
You can use the following commands in a Linux-based Kerberos environment to set up the
identity and update the keytab
file:
# kadmin
: addprinc -randkey username/<FQDN@REALM>
: ktadd -k /opt/mapr/conf/hive.keytab username/<FQDN@REALM>
The hive.keytab
file must be owned and readable only by the
mapr
user.