spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Chu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-1559) Add conf dir to CLASSPATH in compute-classpath.sh dependent on whether SPARK_CONF_DIR is set
Date Mon, 21 Apr 2014 23:34:15 GMT
Albert Chu created SPARK-1559:
---------------------------------

             Summary: Add conf dir to CLASSPATH in compute-classpath.sh dependent on whether
SPARK_CONF_DIR is set
                 Key: SPARK-1559
                 URL: https://issues.apache.org/jira/browse/SPARK-1559
             Project: Spark
          Issue Type: Bug
          Components: Deploy
    Affects Versions: 1.0.0
            Reporter: Albert Chu
            Priority: Minor
         Attachments: SPARK-1559.patch

bin/load-spark-env.sh loads spark-env.sh from SPARK_CONF_DIR if it is set, or from "$parent_dir/conf"
if it is not set.

However, in compute-classpath.sh, the CLASSPATH adds "$FWDIR/conf" to the CLASSPATH regardless
if SPARK_CONF_DIR is set.

Attached patch fixes this.  Pull request on github will also be sent.





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message