Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hue Oozie Spark Kerberos Delegation Token Error

Highlighted

Hue Oozie Spark Kerberos Delegation Token Error

New Contributor

If i try to run hue-oozie spark job, Getting the below error aftersubmitting. Can you please help me in adding credentials i didn't find any credentials for spark, Thanks


Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SparkMain], main() threw exception, Delegation Token can be issued only with kerberos or web authentication.

2 REPLIES 2

Re: Hue Oozie Spark Kerberos Delegation Token Error

Master Guru
Could you paste the entire stack trace? Also, what does your job perform (i.e. what are all of the services it talks to, such as HDFS, YARN, HBase, Hive, etc.)?

Re: Hue Oozie Spark Kerberos Delegation Token Error

Master Guru
P.s. If this was Hive throwing the exception, please try passing --conf spark.yarn.security.tokens.hive.enabled=false to avoid having Spark redundantly retry obtaining a token when it already has one (passed originally from Oozie's hcat credentials).