aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorOri Kremer <ori.kremer@gmail.com>2014-06-22 20:21:23 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-06-22 20:24:08 -0700
commitdedd70903233df78d6b937c1b98ac5f47f7fcf23 (patch)
treeace4ba362451a822dd0a45f8485a598dd093051f /ec2
parent67bffd3c7ee8e9e3395e714e470459f09d19e66d (diff)
downloadspark-dedd70903233df78d6b937c1b98ac5f47f7fcf23.tar.gz
spark-dedd70903233df78d6b937c1b98ac5f47f7fcf23.tar.bz2
spark-dedd70903233df78d6b937c1b98ac5f47f7fcf23.zip
SPARK-2241: quote command line args in ec2 script
To preserve quoted command line args (in case options have space in them). Author: Ori Kremer <ori.kremer@gmail.com> Closes #1169 from orikremer/quote_cmd_line_args and squashes the following commits: 67e2aa1 [Ori Kremer] quote command line args (cherry picked from commit 9fc373e3a9a8ba7bea9df0950775f48918f63a8a) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'ec2')
-rwxr-xr-xec2/spark-ec22
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2/spark-ec2 b/ec2/spark-ec2
index 454057aa0d..31f9771223 100755
--- a/ec2/spark-ec2
+++ b/ec2/spark-ec2
@@ -19,4 +19,4 @@
#
cd "`dirname $0`"
-PYTHONPATH="./third_party/boto-2.4.1.zip/boto-2.4.1:$PYTHONPATH" python ./spark_ec2.py $@
+PYTHONPATH="./third_party/boto-2.4.1.zip/boto-2.4.1:$PYTHONPATH" python ./spark_ec2.py "$@"