sarutak commented on a change in pull request #33121: URL: https://github.com/apache/spark/pull/33121#discussion_r660273233
########## File path: project/SparkBuild.scala ########## @@ -413,6 +413,9 @@ object SparkBuild extends PomBuild { enable(KubernetesIntegrationTests.settings)(kubernetesIntegrationTests) + if (profiles.contains("hadoop-provided")) { + sys.props("spark.yarn.isHadoopProvided") = "true" + } Review comment: `profiles` cannot be referred from `YARN` but I found another better way. -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org