Github user felixcheung commented on the issue: https://github.com/apache/spark/pull/15888 I think what you have here is reasonable but what about checking for spark.submit.deployMode from the sparkConfig list here too? I'm all for fixing this ASAP - thinking longer term, I think perhaps we shouldn't auto install spark unless running as an interactive client (i.e. Not client in YARN cluster or client mode, or other cluster manager modes) as in those other cases we should just let sys admin to management it instead of messing with Spark there. There are ways to check for interactive session in R or we could add an explicit parameter for auto install, or both.
--- 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