Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/15009#discussion_r84791767
--- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
@@ -645,11 +664,13 @@ private[spark] class Client(
remoteFs, hadoopConf, remoteConfArchivePath, localResources,
LocalResourceType.ARCHIVE,
LOCALIZED_CONF_DIR, statCache, appMasterOnly = false)
- // Clear the cache-related entries from the configuration to avoid
them polluting the
- // UI's environment page. This works for client mode; for cluster
mode, this is handled
- // by the AM.
+ // Clear the cache-related and spark-launcher entries from the
configuration to avoid them
+ // polluting the UI's environment page. This works for client mode;
for cluster mode, this
+ // is handled by the AM.
CACHE_CONFIGS.foreach(sparkConf.remove)
-
+ Seq("spark.launcher.internal.secret",
"spark.launcher.internal.port").foreach { e =>
--- End diff --
It'd be nice to have a list for these, like `CACHE_CONFIGS`.
---
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]