Github user zjffdu commented on a diff in the pull request:
https://github.com/apache/spark/pull/14784#discussion_r76157448
--- Diff: R/pkg/R/sparkR.R ---
@@ -365,6 +365,10 @@ sparkR.session <- function(
}
overrideEnvs(sparkConfigMap, paramMap)
}
+ if (nzchar(master)) {
+ assign("spark.master", master, envir = sparkConfigMap)
--- End diff --
It is passed to `createSparkContext`, but it is too late as it should be
passed to JVM when it is started. Another approach is to duplicate the code in
SparkSubmit.scala to add sparkr.zip to archive.
---
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]