aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKousuke Saruta <sarutak@oss.nttdata.co.jp>2014-10-24 13:04:35 -0700
committerAndrew Or <andrew@databricks.com>2014-10-24 13:04:35 -0700
commit30ea2868e7afbec20bfc83818249b6d2d7dc6aec (patch)
treed491d387fd12bcd0dd296cfe2ae9f44bfcc99814 /bin
parent7aacb7bfad4ec73fd8f18555c72ef6962c14358f (diff)
downloadspark-30ea2868e7afbec20bfc83818249b6d2d7dc6aec.tar.gz
spark-30ea2868e7afbec20bfc83818249b6d2d7dc6aec.tar.bz2
spark-30ea2868e7afbec20bfc83818249b6d2d7dc6aec.zip
[SPARK-4076] Parameter expansion in spark-config is wrong
In sbin/spark-config.sh, parameter expansion is used to extract source root as follows. this="${BASH_SOURCE-$0}" 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. Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp> Closes #2930 from sarutak/SPARK-4076 and squashes the following commits: 32a0370 [Kousuke Saruta] Fixed wrong parameter expansion
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions