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

Oozie Hive action with Tez execution engine fails with Dag submit failed due to Delegation Token can be issued only with kerberos or web authentication

Oozie Hive action with Tez execution engine fails with Dag submit failed due to Delegation Token can be issued only with kerberos or web authentication

Explorer

Hi Team,

 

We are trying to run Oozie Hive action with Tez execution engine and it is failing with below error.

Dag submit failed due to Delegation Token can be issued only with kerberos or web authentication
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:7122)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getDelegationToken(NameNodeRpcServer.java:676)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getDelegationToken(ClientNamenodeProtocolServerSideTranslatorPB.java:1011)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2351)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2347)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2347)

This works fine when we are running same with mr as an execution engine. This also works fine with SSH action.

We have tried all the options found in community but it didn't work like setting tez.lib.url and passing --hiveconf tez.credentials.path=${HADOOP_TOKEN_FILE_LOCATION} in .hql file. we want to run this jobs with Tez execution engine.

 

Any Suggestions.