Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/997#discussion_r13676205
--- 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 --
Does the configuration dir need to be added to the classpath? The code, at
least the part you're modifying below, doesn't need to require that.
---
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.
---