Support Questions
Find answers, ask questions, and share your expertise

oozie hive2 Action - kerb ( unable retrive delegation token )

oozie hive2 Action - kerb ( unable retrive delegation token )


I am working in cluster environment for HDP 2.6; I am trying to create oozie workflow using hive2 action to call simple hive script.

oozie workflow keeps on failing with "unable to retrive delegation token for user <abcd> ( id job submitted with )"

I have seen several links and none of them helps; is there any solution exists ? I see couple of solution which might work on VM ( where you can su with oozie/hive users and kinit ), but this is not possible in realtime working environment. ----------------


workflow.xml ----------------

<workflow-app xmlns='uri:oozie:workflow:0.1' name='hive-wf'>
... <credentials> <credential name='howlauth' type='hive2'>
<property> <name>hive2.jdbc.url</name>
</credential> </credentials>
... <action name='hive212' cred='howlauth'>
<hive> <job-tracker>JT</job-tracker>
<configuration> <property> <name>oozie.action.sharelib.for.hive</name>
<value>hive2</value> </property>
<property> <name>oozie.action.launcher.main.class</name> <value>org.apache.oozie.action.hadoop.hive2Main</value> </property>
</hive> </action> ... </workflow-app>