Github user lianhuiwang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/997#discussion_r15095873
  
    --- 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 --
    
    also i think in standalone mode,worker need to use config. so the classpath 
is useful.


---
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.
---

Reply via email to