-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-15271] [MESOS] Allow force pulling executor docker images #13051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -150,6 +150,7 @@ class MesosFineGrainedSchedulerBackendSuite | |
|
|
||
| val conf = new SparkConf() | ||
| .set("spark.mesos.executor.docker.image", "spark/mock") | ||
| .set("spark.mesos.executor.docker.forcePullImage", "true") | ||
|
||
| .set("spark.mesos.executor.docker.volumes", "/a,/b:/b,/c:/c:rw,/d:ro,/e:/e:ro") | ||
| .set("spark.mesos.executor.docker.portmaps", "80:8080,53:53:tcp") | ||
|
|
||
|
|
@@ -169,6 +170,7 @@ class MesosFineGrainedSchedulerBackendSuite | |
| val (execInfo, _) = backend.createExecutorInfo( | ||
| Arrays.asList(backend.createResource("cpus", 4)), "mockExecutor") | ||
| assert(execInfo.getContainer.getDocker.getImage.equals("spark/mock")) | ||
| assert(execInfo.getContainer.getDocker.getForcePullImage.equals(true)) | ||
| val portmaps = execInfo.getContainer.getDocker.getPortMappingsList | ||
| assert(portmaps.get(0).getHostPort.equals(80)) | ||
| assert(portmaps.get(0).getContainerPort.equals(8080)) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -116,7 +116,7 @@ libfb303-0.9.2.jar | |
| libthrift-0.9.2.jar | ||
| log4j-1.2.17.jar | ||
| lz4-1.3.0.jar | ||
| mesos-0.21.1-shaded-protobuf.jar | ||
| mesos-0.22.2-shaded-protobuf.jar | ||
|
||
| metrics-core-3.1.2.jar | ||
| metrics-graphite-3.1.2.jar | ||
| metrics-json-3.1.2.jar | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -119,7 +119,7 @@ | |
| <java.version>1.7</java.version> | ||
| <maven.version>3.3.9</maven.version> | ||
| <sbt.project.name>spark</sbt.project.name> | ||
| <mesos.version>0.21.1</mesos.version> | ||
| <mesos.version>0.22.2</mesos.version> | ||
|
||
| <mesos.classifier>shaded-protobuf</mesos.classifier> | ||
| <slf4j.version>1.7.16</slf4j.version> | ||
| <log4j.version>1.2.17</log4j.version> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working on this, I figured that the
networkparameter is used nowhere. Just wanted to point this out, not sure if there is WIP for adding this feature.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, I'm not sure what happened here. Thanks for pointing it out.