GitHub user susanxhuynh opened a pull request: https://github.com/apache/spark/pull/15700
[SPARK-17964][SparkR] Enable SparkR with Mesos client mode and cluster mode ## What changes were proposed in this pull request? Enabled SparkR with Mesos client mode and cluster mode. Just a few changes were required to get this working on Mesos: (1) removed the SparkR on Mesos error checks and (2) do not require "--class" to be specified for R apps. The logical to check spark.mesos.executor.home was already in there. @sun-rui ## How was this patch tested? 1. SparkSubmitSuite 2. On local mesos cluster (on laptop): ran SparkR shell, spark-submit client mode, and spark-submit cluster mode, with the "examples/src/main/Rdataframe.R" example application. 3. On multi-node mesos cluster: ran SparkR shell, spark-submit client mode, and spark-submit cluster mode, with the "examples/src/main/Rdataframe.R" example application. I tested with the following --conf values set: spark.mesos.executor.docker.image and spark.mesos.executor.home You can merge this pull request into a Git repository by running: $ git pull https://github.com/mesosphere/spark susan-r-branch Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15700.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15700 ---- commit 4a8b07464fcb6e4b082e79ff9dd4bc3e41d43bbc Author: Susan X. Huynh <xhu...@mesosphere.com> Date: 2016-10-31T18:39:04Z Enabled SparkR on Mesos. RPackages from R source is not yet supported. ---- --- 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