Github user skonto commented on the pull request: https://github.com/apache/spark/pull/8669#issuecomment-165048947 Its because Mesos Dispatcher passed that env variable to the driver at line: builder.setEnvironment(envBuilder.build()) In 1.6 the spark-submit script has changed... https://github.com/apache/spark/blob/master/bin/spark-submit This line make SPARK_HOME not to change to the local path on mesos slave because it has already been set. if [ -z "${SPARK_HOME}" ]; then export SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)" fi
--- 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