You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/05/25 07:39:32 UTC
git commit: spark-submit: add exec at the end of the script
Repository: spark
Updated Branches:
refs/heads/master 5afe6af0b -> 6e9fb6320
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 <cm...@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
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6e9fb632
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6e9fb632
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6e9fb632
Branch: refs/heads/master
Commit: 6e9fb6320bec3371bc9c010ccbc1b915f500486b
Parents: 5afe6af
Author: Colin Patrick Mccabe <cm...@cloudera.com>
Authored: Sat May 24 22:39:27 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Sat May 24 22:39:27 2014 -0700
----------------------------------------------------------------------
bin/spark-submit | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/6e9fb632/bin/spark-submit
----------------------------------------------------------------------
diff --git a/bin/spark-submit b/bin/spark-submit
index 63903b1..9e7cece 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[@]}"