[ 
https://issues.apache.org/jira/browse/SPARK-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14182833#comment-14182833
 ] 

Apache Spark commented on SPARK-4076:
-------------------------------------

User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/2930

> 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
>            Priority: Minor
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to