Github user djvulee commented on the issue:
https://github.com/apache/spark/pull/16210
I find the reason, because we pass some SPARK_SUBMIT_OPTS defined by
ourself, so it seem that spark only parse the opts defined by ourself, ignore
the ```-Dscala.usejavacp=true```.
Since we want user to use the `SPARK_SUBMIT_OPTS`, the best way it to
separate the ```-Dscala.usejavacp=true``` from the SPARK_SUBMIT_OPTS, maybe
move to SparkSubmitCommandBuilder is good idea as suggestioned by @vanzin.
---
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]