dbtsai commented on a change in pull request #28788:
URL: https://github.com/apache/spark/pull/28788#discussion_r439125137
##########
File path: resource-managers/yarn/pom.xml
##########
@@ -30,8 +30,18 @@
<properties>
<sbt.project.name>yarn</sbt.project.name>
<jersey-1.version>1.19</jersey-1.version>
+ <spark.yarn.isHadoopProvided>false</spark.yarn.isHadoopProvided>
</properties>
+ <profiles>
+ <profile>
+ <id>hadoop-provided</id>
+ <properties>
+ <spark.yarn.isHadoopProvided>true</spark.yarn.isHadoopProvided>
+ </properties>
+ </profile>
+ </profiles>
+
Review comment:
This profile is already in parent POM, so when we build it with
`hadoop-provided` from the root project, this will only add the property to
yarn scope as we don't need this property globally for the entire Spark project.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]