Github user sun-rui commented on a diff in the pull request:
https://github.com/apache/spark/pull/9290#discussion_r43224710
--- Diff: R/pkg/R/sparkR.R ---
@@ -123,16 +123,24 @@ sparkR.init <- function(
uriSep <- "////"
}
+ sparkEnvirMap <- convertNamedListToEnv(sparkEnvir)
+
existingPort <- Sys.getenv("EXISTING_SPARKR_BACKEND_PORT", "")
if (existingPort != "") {
backendPort <- existingPort
} else {
path <- tempfile(pattern = "backend_port")
+ # A few Spark config cannot be set in env:
--- End diff --
wording:
A few Spark properties can not take effect after the driver JVM has
started, as documented in
http://spark.apache.org/docs/latest/configuration.html#application-properties
In SparkR shell mode, add them to spark-submit commandline if not already
set in SPARKR_SUBMIT_ARGS so that they can take effect when launching the JVM.
---
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]