Github user zjffdu commented on the issue: https://github.com/apache/spark/pull/14639 Thanks @sun-rui, `EXISTING_SPARKR_BACKEND_PORT` do indicate cluster mode indirectly for now. But here not only deployMode is unknown in R side, but also master and other spark configurations. For now R only use master & depolyMode, but maybe in future it would use other configurations, so here I think propogating SparkConf from JVM to R is a better long term solution.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org