Reply
New Contributor
Posts: 5
Registered: ‎10-06-2015

Hue Oozie Spark Kerberos Delegation Token Error

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.

Highlighted
Posts: 1,903
Kudos: 435
Solutions: 305
Registered: ‎07-31-2013

Re: Hue Oozie Spark Kerberos Delegation Token Error

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.)?
Posts: 1,903
Kudos: 435
Solutions: 305
Registered: ‎07-31-2013

Re: Hue Oozie Spark Kerberos Delegation Token Error

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).