[
https://issues.apache.org/jira/browse/SPARK-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Or closed SPARK-4076.
----------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Assignee: Kousuke Saruta
> Parameter expansion in spark-config is wrong
> --------------------------------------------
>
> Key: SPARK-4076
> URL: https://issues.apache.org/jira/browse/SPARK-4076
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.2.0
> Reporter: Kousuke Saruta
> Assignee: Kousuke Saruta
> Priority: Minor
> Fix For: 1.2.0
>
>
> In sbin/spark-config.sh, parameter expansion is used to extract source root
> as follows.
> {code}
> this="${BASH_SOURCE-$0}"
> {code}
> I think, the parameter expansion should be ":-" instead of "-".
> If we use "-" and BASH_SOURCE="", (empty character is set, not unset),
> "" (empty character) is set to $this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]