Monday, May 25, 2015

Oozie hive action jobs fails with "Delegation Token can be issued only with kerberos or web authentication"

Problem:
Oozie action calling hive job fails with the below error:
org.apache.hadoop.ipc.RemoteException(java.io.IOException): Delegation Token can be issued only with kerberos or web authentication
 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:6085)
Fix:
Set the value for below parameter to false in the hive-site.xml referred by the workflow and rerun the workflow.
set hive.server2.enable.doAs=false

1 comment: