Github user BryanCutler commented on a diff in the pull request:
https://github.com/apache/spark/pull/21450#discussion_r191928359
--- Diff:
launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java
---
@@ -190,6 +194,23 @@ public void testSparkRShell() throws Exception {
env.get("SPARKR_SUBMIT_ARGS"));
}
+ @Test
+ public void testExamplesRunnerNoArg() throws Exception {
--- End diff --
When no args are given this is what I get as the output:
```
$ bin/run-example
Error: Must specify a primary resource (JAR or Python or R file)
Run with --help for usage help or --verbose for debug output
```
It doesn't really make sense asking for a primary resource when running an
example, how about just printing usage?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]