Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3036

Spark 2.2.0 support: tell Spark not to get any delegation tokens

    XMLWordPrintableJSON

Details

    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.

      Attachments

        1. OOZIE-3036.001.patch
          11 kB
          Andras Piros

        Activity

          People

            andras.piros Andras Piros
            andras.piros Andras Piros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: