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.