spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-15360) Should print spark-submit usage when no arguments is specified
Date Tue, 17 May 2016 09:47:12 GMT
Jeff Zhang created SPARK-15360:
----------------------------------

             Summary: 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
            Priority: Minor


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


Mime
View raw message