spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zhang (JIRA)" <>
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
             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

Exception in thread "main" java.lang.IllegalArgumentException: Missing application resource.
	at org.apache.spark.launcher.CommandBuilderUtils.checkArgument(
	at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildSparkSubmitArgs(
	at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildSparkSubmitCommand(
	at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildCommand(
	at org.apache.spark.launcher.Main.main(

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message