Skip to main content
Skip table of contents

Best practices when using Kerberos

This script executes a utility that protects a cached ticket from vulnerabilities:

# cat

echo "Kerberos authentication..."
kinit -kt /etc/security/keytabs/hive.service.keytab hive/$(hostname -f)@INDEXIMA.CO
echo "------------------------------------------------------------"
echo "Start beeline for INDEXIMA..."
beeline -u "jdbc:hive2://$(hostname -f):12000/default;principal=hive/$(hostname -f)@INDEXIMA.CO;auth=kerberos"
echo "------------------------------------------------------------"
#echo "Protect the cached ticket..."
echo "done"
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.