109935fc5d
## What changes were proposed in this pull request? When a user specifies the wrong class -- or, in fact, a class instead of an object -- Spark throws an NPE which is not useful for debugging. This was reported in [SPARK-23830](https://issues.apache.org/jira/browse/SPARK-23830). This PR adds a check to ensure the main method was found and logs a useful error in the event that it's null. ## How was this patch tested? * Unit tests + Manual testing * The scope of the changes is very limited Author: eric-maynard <emaynard@cloudera.com> Author: Eric Maynard <emaynard@cloudera.com> Closes #21168 from eric-maynard/feature/SPARK-23830. |
||
---|---|---|
.. | ||
src | ||
pom.xml |