You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2016/05/20 17:30:13 UTC

[jira] [Resolved] (SPARK-15360) Should print spark-submit usage when no arguments is specified

     [ https://issues.apache.org/jira/browse/SPARK-15360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcelo Vanzin resolved SPARK-15360.
------------------------------------
       Resolution: Fixed
         Assignee: Miao Wang
    Fix Version/s: 2.0.0

> Should print spark-submit usage when no arguments is specified
> --------------------------------------------------------------
>
>                 Key: SPARK-15360
>                 URL: https://issues.apache.org/jira/browse/SPARK-15360
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 2.0.0
>            Reporter: Jeff Zhang
>            Assignee: Miao Wang
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> In spark 1.6.1, it would print spark-submit usage when calling bin/spark-submit without any argument, but in spark 2.0, it would just print error, it would be nice to make it consistent with spark 1.6.1
> {noformat}
> Exception in thread "main" java.lang.IllegalArgumentException: Missing application resource.
> 	at org.apache.spark.launcher.CommandBuilderUtils.checkArgument(CommandBuilderUtils.java:241)
> 	at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildSparkSubmitArgs(SparkSubmitCommandBuilder.java:151)
> 	at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildSparkSubmitCommand(SparkSubmitCommandBuilder.java:267)
> 	at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildCommand(SparkSubmitCommandBuilder.java:142)
> 	at org.apache.spark.launcher.Main.main(Main.java:86)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org