viirya commented on a change in pull request #28788:
URL: https://github.com/apache/spark/pull/28788#discussion_r439126220
##########
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:
Yea, thanks. I see. I just wonder if we want to mention this profile in
the docs you added (docs/running-on-yarn.md), or adding a link to the doc link
I posted above, so users can know how to build a no-hadoop distribution, when
reading this.
----------------------------------------------------------------
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]