[SPARK-17964][SparkR] Enable SparkR with Mesos client mode and cluster mode#15700
[SPARK-17964][SparkR] Enable SparkR with Mesos client mode and cluster mode#15700susanxhuynh wants to merge 2 commits intoapache:masterfrom
Conversation
| } else { | ||
| // Otherwise, assume the package is local | ||
| // TODO: support this for Mesos | ||
| // For Mesos, the path is also under SPARK_HOME. |
There was a problem hiding this comment.
This comment seems unnecessary now. Maybe remove it?
There was a problem hiding this comment.
I have removed this comment.
|
ok to test |
|
@srowen LGTM |
|
This might not handle packages the best it can on mesos but that could be a follow-up |
|
@felixcheung There are separate issues for packages that are not included in this PR: Also, I could not find any documentation about packages. It would be helpful to fill in some information about requirements or testing instructions in the links above. |
|
Test build #3407 has finished for PR 15700 at commit
|
|
retest this please |
|
Test build #3413 has finished for PR 15700 at commit
|
|
retest this please |
|
Jenkins add to whitelist |
|
Jenkins retest this please |
|
Test build #68200 has finished for PR 15700 at commit
|
|
Test build #68202 has finished for PR 15700 at commit
|
|
Merged to master/2.1 |
…r 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 logic 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/R/dataframe.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/R/dataframe.R" example application. I tested with the following --conf values set: spark.mesos.executor.docker.image and spark.mesos.executor.home This contribution is my original work and I license the work to the project under the project's open source license. Author: Susan X. Huynh <xhuynh@mesosphere.com> Closes #15700 from susanxhuynh/susan-r-branch. (cherry picked from commit 9a87c31) Signed-off-by: Sean Owen <sowen@cloudera.com>
…r 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 logic 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/R/dataframe.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/R/dataframe.R" example application. I tested with the following --conf values set: spark.mesos.executor.docker.image and spark.mesos.executor.home This contribution is my original work and I license the work to the project under the project's open source license. Author: Susan X. Huynh <xhuynh@mesosphere.com> Closes apache#15700 from susanxhuynh/susan-r-branch.
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 logic to check spark.mesos.executor.home was already in there.
@sun-rui
How was this patch tested?
This contribution is my original work and I license the work to the project under the project's open source license.