diff options
author | Colin Patrick Mccabe <cmccabe@cloudera.com> | 2014-05-24 22:39:27 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-05-24 22:39:34 -0700 |
commit | 7e59335eb958bea495c43e687a1b425b28121d75 (patch) | |
tree | 18736bc96ab2a58a9ab4ab27bdf0e19bb8b1c5fc /bin | |
parent | b5e968696186c54973c815c62b85183850caed35 (diff) | |
download | spark-7e59335eb958bea495c43e687a1b425b28121d75.tar.gz spark-7e59335eb958bea495c43e687a1b425b28121d75.tar.bz2 spark-7e59335eb958bea495c43e687a1b425b28121d75.zip |
spark-submit: add exec at the end of the script
Add an 'exec' at the end of the spark-submit script, to avoid keeping a
bash process hanging around while it runs. This makes ps look a little
bit nicer.
Author: Colin Patrick Mccabe <cmccabe@cloudera.com>
Closes #858 from cmccabe/SPARK-1907 and squashes the following commits:
7023b64 [Colin Patrick Mccabe] spark-submit: add exec at the end of the script
(cherry picked from commit 6e9fb6320bec3371bc9c010ccbc1b915f500486b)
Signed-off-by: Reynold Xin <rxin@apache.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spark-submit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spark-submit b/bin/spark-submit index 63903b17a2..9e7cecedd0 100755 --- a/bin/spark-submit +++ b/bin/spark-submit @@ -41,5 +41,5 @@ if [ -n "$DRIVER_MEMORY" ] && [ $DEPLOY_MODE == "client" ]; then export SPARK_DRIVER_MEMORY=$DRIVER_MEMORY fi -$SPARK_HOME/bin/spark-class org.apache.spark.deploy.SparkSubmit "${ORIG_ARGS[@]}" +exec $SPARK_HOME/bin/spark-class org.apache.spark.deploy.SparkSubmit "${ORIG_ARGS[@]}" |