Github user guoxiaolongzte commented on a diff in the pull request: https://github.com/apache/spark/pull/18212#discussion_r120559076 --- Diff: conf/spark-env.sh.template --- @@ -23,6 +23,7 @@ # Options read when launching programs locally with # ./bin/run-example or ./bin/spark-submit # - HADOOP_CONF_DIR, to point Spark towards Hadoop configuration files +# - YARN_CONF_DIR, to point Spark towards YARN configuration files --- End diff -- When you use âspark-submit --master yarn /home/...jarâ to submit the spark job, you need to set the YARN_CONF_DIR value. Can i modify it like this? as follows: +# - YARN_CONF_DIR, to point Spark towards YARN configuration files **when you use YARN.**
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org