You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/04/26 04:26:16 UTC

[jira] [Comment Edited] (SPARK-1606) spark-submit needs `--arg` for every application parameter

    [ https://issues.apache.org/jira/browse/SPARK-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981851#comment-13981851 ] 

Patrick Wendell edited comment on SPARK-1606 at 4/26/14 2:26 AM:
-----------------------------------------------------------------

I submitted a PR here that adds the following syntax.

{code}
./bin/spark-submit [options] user.jar [user options]
{code}

https://github.com/apache/spark/pull/563


was (Author: pwendell):
I submitted a PR here that adds the following syntax.

{code}
./bin/spark-submit [options] user.jar [user options]
{code}

> 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
>
> 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)