You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Albert Chu (JIRA)" <ji...@apache.org> on 2014/04/22 01:34:18 UTC
[jira] [Updated] (SPARK-1559) Add conf dir to CLASSPATH in
compute-classpath.sh dependent on whether SPARK_CONF_DIR is set
[ https://issues.apache.org/jira/browse/SPARK-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Albert Chu updated SPARK-1559:
------------------------------
Attachment: SPARK-1559.patch
> 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)