Hi,
We are trying to create hive table using spark action on secured hdp cluster but its failing with below error.
Caused by: org.apache.hadoop.ipc.RemoteException: Delegation Token can be issued only with kerberos or web authentication
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:7130)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getDelegationToken(NameNodeRpcServer.java:676)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getDelegationToken(ClientNamenodeProtocolServerSideTranslatorPB.java:1011)
If we change "hive.execution.engine" to 'mr' it works fine. But we need to keep it to tez and here it fails.
We tried adding hive.metastore.token.signature as well but it still fails with above error and below warning.
[Driver:o.a.h.h.c.HiveConf@2763] - HiveConf of name hive.metastore.token.signature does not exist
hdp - 2.6.5
cdap - 4.3.3
tez - 0.7.0
hive - 1.2.1000
Full error logs attached with sample pipeline.
Thanks
Sumit