GitHub user mccheah opened a pull request:
https://github.com/apache/spark/pull/21660
[SPARK-24683][K8S] Fix k8s no resource
## What changes were proposed in this pull request?
Make SparkSubmit pass in the main class even if `SparkLauncher.NO_RESOURCE`
is the primary resource.
## How was this patch tested?
New integration test written to capture this case.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/palantir/spark fix-k8s-no-resource
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21660.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21660
----
commit c7d03e615317d436c84aa43e3aa257f96cf18d68
Author: mcheah <mcheah@...>
Date: 2018-06-28T18:02:06Z
[SPARK-24683][K8S] Add main class if no resource is provided for k8s.
commit 5469f536ba3c044548dfb5f61e69cc48dc09cf35
Author: mcheah <mcheah@...>
Date: 2018-06-28T18:08:05Z
Add integration test.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]