[ https://issues.apache.org/jira/browse/SPARK-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982797#comment-13982797 ]
Guoqiang Li edited comment on SPARK-1606 at 4/28/14 7:07 AM: -------------------------------------------------------------- [SparkSubmitArguments.scala#L287|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala#L287] {code}--arg ARG Argument to be passed to your application's main class. This option can be specified multiple times for multiple args. {code} should be deleted was (Author: witgo): [SparkSubmitArguments.scala#L287|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala#L287] {code}--arg ARG Argument to be passed to your application's main class. This option can be specified multiple times for multiple args. {code} Should be deleted > spark-submit needs `--arg` for every application parameter > ---------------------------------------------------------- > > Key: SPARK-1606 > URL: https://issues.apache.org/jira/browse/SPARK-1606 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 1.0.0 > Reporter: Xiangrui Meng > Assignee: Patrick Wendell > Priority: Blocker > Fix For: 1.0.0 > > > If the application has a few parameters, the spark-submit command looks like > the following: > {code} > spark-submit --master yarn-cluster --class main.Class --arg --numPartitions > --arg 8 --arg --kryo --arg true > {code} > It is a little bit hard to read and modify. Maybe it is okay to treat all > arguments after `main.Class` as application parameters. > {code} > spark-submit --master yarn-cluster --class main.Class --numPartitions 8 > --kryo true > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)