Description
By default, we use the/etc/krb5.conf file
in kinit use env variable KRB5_CONFIG to specify the krb5.conf filepath
in Java use property java.security.krb5.conf to do the above
Can me add a judgment in bin/hive script
if [ ${KRB5_CONFIG} ]; then
export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Djava.security.krb5.conf=${KRB5_CONFIG} "
fi
to add -Djava.security.krb5.conf=${KRB5_CONFIG} in Beeline process param to support use env variable KRB5_CONFIG to specify the krb5.conf filepath in Beeline