— HiveClientSecure.java - oozie java action to be configured into workflow.xml
— jaas.conf — oozie uses jaas configuration for kerberos login
— log4j.properties - to capture logs
jaas.conf: modify principal name and key tab location accordingly and place it to on each node on the cluster.I have placed it on /tmp/jaas/jaas.conf for testing purpose.
Client {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=trueuseTicketCache=true
principal="ambari-qa-hbase234@HWXBLR.COM"
keyTab="/etc/security/keytabs/smokeuser.headless.keytab"debug="true"doNotPrompt=true;
};