-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-18232] [Mesos] Support CNI #15740
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
Conversation
|
Test build #68020 has finished for PR 15740 at commit
|
4a9b206 to
ac1d4a0
Compare
|
Test build #68021 has finished for PR 15740 at commit
|
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.
portMappings were never supported, since we don't support bridge networking, so I removed this feature and the docs for it.
|
Test build #68022 has finished for PR 15740 at commit
|
ac1d4a0 to
b1b8b22
Compare
|
Test build #68032 has finished for PR 15740 at commit
|
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.
Can you remove the parsePortMappingsSpec method now (defined above)?
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.
I actually just re-added the ports stuff, in case we want to support it in the future. It's just removed from the docs.
susanxhuynh
left a comment
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.
I left a few comments. In general, LGTM.
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.
Why is the hostname set to 0.0.0.0?
b1b8b22 to
a9b9cd2
Compare
a9b9cd2 to
5789d6b
Compare
|
Test build #68144 has finished for PR 15740 at commit
|
susanxhuynh
left a comment
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.
LGTM
|
@srowen Can I get a merge? |
|
LGTM. @mgummelt do you have integration tests for that? |
|
I've written one. I'll merge it after this goes through. |
|
Great! |
|
Merging in master! Thanks. |
|
is there any documentation about this feature? |
|
@sumitchawla Check out the changes to running-on-mesos.md. Most of the info on CNI is in the linked Mesos docs. |
|
thanks @mgummelt . Which release version would contain this change? |
|
I was hoping 2.1, but it looks like 2.1 was cut before this, so now it's looking to be 2.2. We've backported this into 2.0.2 for DC/OS Spark, though, and we'll do so for 2.1 as well. |
|
Sounds like a great solution! |
## What changes were proposed in this pull request? Adds support for CNI-isolated containers ## How was this patch tested? I launched SparkPi both with and without `spark.mesos.network.name`, and verified the job completed successfully. Author: Michael Gummelt <mgummelt@mesosphere.io> Closes apache#15740 from mgummelt/spark-342-cni.
## What changes were proposed in this pull request? Adds support for CNI-isolated containers ## How was this patch tested? I launched SparkPi both with and without `spark.mesos.network.name`, and verified the job completed successfully. Author: Michael Gummelt <mgummelt@mesosphere.io> Closes apache#15740 from mgummelt/spark-342-cni.
Adds support for CNI-isolated containers I launched SparkPi both with and without `spark.mesos.network.name`, and verified the job completed successfully. Author: Michael Gummelt <mgummelt@mesosphere.io> Closes apache#15740 from mgummelt/spark-342-cni. Conflicts: mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
## What changes were proposed in this pull request? Adds support for CNI-isolated containers ## How was this patch tested? I launched SparkPi both with and without `spark.mesos.network.name`, and verified the job completed successfully. Author: Michael Gummelt <mgummelt@mesosphere.io> Closes apache#15740 from mgummelt/spark-342-cni.
What changes were proposed in this pull request?
Adds support for CNI-isolated containers
How was this patch tested?
I launched SparkPi both with and without
spark.mesos.network.name, and verified the job completed successfully.