Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35921

${spark.yarn.isHadoopProvided} in config.properties is not edited if build with SBT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • Build
    • None

    Description

      yarn sub-module contains config.properties.

      spark.yarn.isHadoopProvided = ${spark.yarn.isHadoopProvided}
      

      The ${spark.yarn.isHadoopProvided} part is replaced with true or false in build depending on whether Hadoop is provided or not (specified by -Phadoop-provided).
      The edited config.properties will be loaded at runtime to control how to populate Hadoop-related classpath.

      If we build with Maven, these process works but doesn't with SBT.

      Attachments

        Activity

          People

            sarutak Kousuke Saruta
            sarutak Kousuke Saruta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: