[ 
https://issues.apache.org/jira/browse/SPARK-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Wendell resolved SPARK-1404.
------------------------------------

    Resolution: Fixed

> Non-exported spark-env.sh variables are no longer present in spark-shell
> ------------------------------------------------------------------------
>
>                 Key: SPARK-1404
>                 URL: https://issues.apache.org/jira/browse/SPARK-1404
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0
>            Reporter: Aaron Davidson
>            Assignee: Aaron Davidson
>             Fix For: 1.0.0
>
>
> spark-env.sh is now only loaded at most once. This means that if users had 
> variable settings like
> {{code}}
> FOO=1
> export BAR=2
> {{code}}
> then a user who runs spark-shell may source spark-env.sh in "spark-shell" to 
> have the non-exported variables disappear from scope when "spark-class" is 
> called. In effect, BAR is visible within Spark, but not FOO.



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

Reply via email to