You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Jary Du <ja...@gmail.com> on 2015/08/15 02:21:18 UTC
Use delegation token in the Java action to access hive server 2(kerberized)
Hi,
Currently I am having an issue really need some help from oozie community.
We are trying kerberize our hadoop cluster including hive server2 and oozie. My oozie job spins off a java action in data node which tries to connect to kerberized hive server 2.
There is no user’s kerberos keytab for authentication. So I can only use delegation token passed by oozie in the java action to connect to hive server 2.
My question is: is there any way that I can use delegation token in a oozie java action to connect to hive server 2? If so, how can I do it through hive JDBC?
Thanks
Jary