Github user vanzin commented on the issue:
https://github.com/apache/spark/pull/15009
> Did you have ideas on this?
Nothing fully baked. The closest I got was to have a special interface that
apps could implement where a `SparkConf` would be passed as an argument,
instead of having just a random `main(String[])` method as the entry point.
Then `SparkSubmit` could avoid the system properties route if that interface is
detected.
Then e.g. YARN's `Client.scala` could implement it, and you could safely
submit multiple yarn-cluster mode apps from the same JVM.
Anything else I thought of was pretty hacky and a didn't end up giving much
extra thought.
---
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]