-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-7874][MESOS] Don’t allocate more than spark.cores.max in fine-grained mode. #9027
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
[SPARK-7874][MESOS] Don’t allocate more than spark.cores.max in fine-grained mode. #9027
Conversation
|
@tnachen @andrewor14 please have a look |
|
Test build #43394 has finished for PR 9027 at commit
|
|
LGTM |
5817d68 to
960755d
Compare
|
Test build #44926 has finished for PR 9027 at commit
|
960755d to
68cee1c
Compare
|
Test build #45878 has finished for PR 9027 at commit
|
|
@dragos can you fix the style here? Other than that, is this ready for review? |
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 think we've consistently put the function parameters that are longer than 100 in newlines so far, can you move d: SchedulerDriver to the next line?
|
@dragos just left some comments on this PR, sorry I wasn't able to take a deep look earlier. I think there are some open issues that needs to be addressed first. Take a look and let me know what you think. |
|
Thanks @tnachen, but since this didn't make it in 1.6, and fine-grained mode is slated for removal, I don't think it makes sense to work on it anymore. |
|
Discussions on the dev mailing list. |
|
@dragos Link? |
|
The discussions started on Nov. 19 2015, "Removing the Mesos fine-grained mode". but I only have it in my inbox. I'm sure there's some archive somewhere, but I don't have a link at hand. |
Currently only coarse-grained mode observes
spark.cores.max. The fine-grained mode should follow the same limit, and not go above the defined maximum cores.There's some duplication of logic between the coarse-grained and fine-grained mode. I created SPARK-10444 to fix that.
Rework of #8671