You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2021/06/29 02:30:00 UTC

[jira] [Created] (SPARK-35921) The value of spark.yarn.isHadoopProvided property in config.properties is not edited if build with SBT

Kousuke Saruta created SPARK-35921:
--------------------------------------

             Summary: The value of spark.yarn.isHadoopProvided property in config.properties is not edited if build with SBT
                 Key: SPARK-35921
                 URL: https://issues.apache.org/jira/browse/SPARK-35921
             Project: Spark
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.2.0
            Reporter: Kousuke Saruta
            Assignee: Kousuke Saruta


yarn sub-module contains config.properties.
{code}
spark.yarn.isHadoopProvided = ${spark.yarn.isHadoopProvided}
{code}

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org