Github user felixcheung commented on the issue:
https://github.com/apache/spark/pull/15888
That might be a reasonable approach.
In fact, thinking more about this I think it really should instantiate a
sparkConf to read any conf file etc as well (which could set a value for master
etc), however, in client mode and if SPARK_HOME is not set then we won't know
how to kick off the JVM process..
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]