-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-5336][YARN]spark.executor.cores must not be less than spark.task.cpus #4123
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 #25826 has started for PR 4123 at commit
|
|
Test build #25826 has finished for PR 4123 at commit
|
|
Test PASSed. |
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.
Nit: import ordering should be alphabetical
|
We should warn about this in standalone mode and mesos coarse grained mode as well, right? |
|
@sryza |
|
Test build #25883 has started for PR 4123 at commit
|
|
Test build #25887 has started for PR 4123 at commit
|
|
Actually when cluster has not enough cores, the driver will also hang up. I made a trivial change here and hope it would not make much noise for this pr. |
|
Test build #25883 has finished for PR 4123 at commit
|
|
Test PASSed. |
|
Test build #25887 has finished for PR 4123 at commit
|
|
Test PASSed. |
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.
only nit here is that I might not have specified it via spark.executor.cores but rather via the spark-submit --executor-cores option. Perhaps we should just say "Executor cores must".
|
Test build #25890 has started for PR 4123 at commit
|
|
@tgravescs Updated as you said. Perhaps we should do the same change in |
|
I agree, the text was that way in ExecutorAllocationManager so lets leave it for now. This looks good. Thanks @WangTaoTheTonic |
|
Test build #25890 has finished for PR 4123 at commit
|
|
Test PASSed. |
…sk.cpus https://issues.apache.org/jira/browse/SPARK-5336 Author: WangTao <[email protected]> Author: WangTaoTheTonic <[email protected]> Closes apache#4123 from WangTaoTheTonic/SPARK-5336 and squashes the following commits: 6c9676a [WangTao] Update ClientArguments.scala 9632d3a [WangTaoTheTonic] minor comment fix d03d6fa [WangTaoTheTonic] import ordering should be alphabetical' 3112af9 [WangTao] spark.executor.cores must not be less than spark.task.cpus
https://issues.apache.org/jira/browse/SPARK-5336