Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3.0
-
None
-
None
-
Description
For Spark 2.2.0 along w/ Hadoop 3 alpha 4, Spark uses another set of arguments that ensure Spark won't get any delegation tokens:
- spark.yarn.security.credentials.hadoopfs.enabled
- spark.yarn.security.credentials.hive.enabled
- spark.yarn.security.credentials.hbase.enabled
For Spark 1.6.0 along w/ Hadoop 3 alpha 4, we need following argument to set extra:
- spark.yarn.security.tokens.hadoopfs.enabled
As we can't tell runtime which Spark / Hadoop versions is the Oozie Spark action running on, it's best to use the union of those arguments.