You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/05/02 06:39:44 UTC

git commit: SPARK-1659: improvements spark-submit usage

Repository: spark
Updated Branches:
  refs/heads/master 55c760ff9 -> 40cf6d310


 SPARK-1659: improvements spark-submit usage

Author: witgo <wi...@qq.com>

Closes #581 from witgo/SPARK-1659 and squashes the following commits:

0b2cf98 [witgo] Delete spark-submit obsolete usage: "--arg ARG"


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/40cf6d31
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/40cf6d31
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/40cf6d31

Branch: refs/heads/master
Commit: 40cf6d31019c5402e5eb08158856242d20697ba4
Parents: 55c760f
Author: witgo <wi...@qq.com>
Authored: Thu May 1 21:39:40 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Thu May 1 21:39:40 2014 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala  | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/40cf6d31/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala b/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
index 5834dc4..45defb9 100644
--- a/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
@@ -284,8 +284,6 @@ private[spark] class SparkSubmitArguments(args: Seq[String]) {
         |  --master MASTER_URL         spark://host:port, mesos://host:port, yarn, or local.
         |  --deploy-mode DEPLOY_MODE   Mode to deploy the app in, either 'client' or 'cluster'.
         |  --class CLASS_NAME          Name of your app's main class (required for Java apps).
-        |  --arg ARG                   Argument to be passed to your application's main class. This
-        |                              option can be specified multiple times for multiple args.
         |  --name NAME                 The name of your application (Default: 'Spark').
         |  --jars JARS                 A comma-separated list of local jars to include on the
         |                              driver classpath and that SparkContext.addJar will work