You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2014/10/24 16:26:33 UTC
[jira] [Created] (SPARK-4076) Parameter expansion in spark-config
is wrong
Kousuke Saruta created SPARK-4076:
-------------------------------------
Summary: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org