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

Marcelo Vanzin resolved SPARK-24319.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0

Issue resolved by pull request 21450
[https://github.com/apache/spark/pull/21450]

> run-example can not print usage
> -------------------------------
>
>                 Key: SPARK-24319
>                 URL: https://issues.apache.org/jira/browse/SPARK-24319
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 2.4.0
>            Reporter: Bryan Cutler
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> Running "bin/run-example" with no args or with "–help" will not print usage 
> and just gives the error
> {noformat}
> $ bin/run-example
> 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:181)
>     at 
> org.apache.spark.launcher.SparkSubmitCommandBuilder.buildSparkSubmitCommand(SparkSubmitCommandBuilder.java:296)
>     at 
> org.apache.spark.launcher.SparkSubmitCommandBuilder.buildCommand(SparkSubmitCommandBuilder.java:162)
>     at org.apache.spark.launcher.Main.main(Main.java:86){noformat}
> it looks like there is an env var in the script that shows usage, but it's 
> getting preempted by something else



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to