Github user zjffdu commented on the issue: https://github.com/apache/spark/pull/14639 @sun-rui I verified it works in yarn-client mode, also for shell mode under yarn-client. As spark won't be downloaded as long as spark_home exists ``` if (!is_sparkR_shell() && deployMode != "cluster") { if (is.na(file.info(sparkHome)$isdir)) { msg <- paste0("Spark not found in SPARK_HOME: ", sparkHome, " .\nTo search in the cache directory. ", "Installation will start if not found.") message(msg) packageLocalDir <- install.spark() sparkHome <- packageLocalDir } else { msg <- paste0("Spark package is found in SPARK_HOME: ", sparkHome) message(msg) cat(msg) } } ```
--- 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