Github user EugenCepoi commented on a diff in the pull request:
https://github.com/apache/spark/pull/997#discussion_r13710617
--- Diff: bin/compute-classpath.sh ---
@@ -30,6 +30,11 @@ FWDIR="$(cd `dirname $0`/..; pwd)"
# Build up classpath
CLASSPATH="$SPARK_CLASSPATH:$SPARK_SUBMIT_CLASSPATH:$FWDIR/conf"
+# If SPARK_CONF_DIR is defined give it preference over default conf in
spark home
+if [ -n "$SPARK_CONF_DIR" ]; then
+ CLASSPATH="$SPARK_CONF_DIR:$CLASSPATH"
--- End diff --
Indeed it's not used in the SparkSubmit, but this is done in order to
provide the user defined config to the other components such as logging,
Scheduler and metrics.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---