Github user vanzin commented on the issue:
https://github.com/apache/spark/pull/14492
@yhuai can you explain the use case you're trying to cover here with an
example?
`LAUNCH_CLASSPATH` is the classpath of the launcher process (the process
that creates the command line to then run the `SparkSubmit` class). The
launcher itself already adds `SPARK_DIST_CLASSPATH` to Spark's classpath:
https://github.com/apache/spark/blob/d6dc12ef0146ae409834c78737c116050961f350/launcher/src/main/java/org/apache/spark/launcher/AbstractCommandBuilder.java#L204
```
addToClassPath(cp, getenv("HADOOP_CONF_DIR"));
addToClassPath(cp, getenv("YARN_CONF_DIR"));
addToClassPath(cp, getenv("SPARK_DIST_CLASSPATH"));
```
---
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]