Skip to content
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-4158] Fix for missing resources. #3024

Closed

Conversation

brndnmtthws
Copy link
Member

Mesos offers may not contain all resources, and Spark needs to check to
ensure they are present and sufficient. Spark may throw an erroneous
exception when resources aren't present.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Mesos offers may not contain all resources, and Spark needs to check to
ensure they are present and sufficient.  Spark may throw an erroneous
exception when resources aren't present.
@timothysc
Copy link

+1.

@andrewor14
Copy link
Contributor

add to whitelist

@SparkQA
Copy link

SparkQA commented Oct 30, 2014

Test build #22564 has started for PR 3024 at commit e5f9580.

  • This patch merges cleanly.

@tnachen
Copy link
Contributor

tnachen commented Oct 30, 2014

+1 on the patch as well

@SparkQA
Copy link

SparkQA commented Oct 30, 2014

Test build #22564 has finished for PR 3024 at commit e5f9580.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/22564/
Test PASSed.

@rnowling
Copy link
Contributor

+1 This should be added as a HOTFIX to 1.2.0

@rnowling
Copy link
Contributor

I tried this patch on an internal system and can verify that it fixed the "No resource called cpus" error we had been getting.

@andrewor14
Copy link
Contributor

Ok, merging into master and 1.2 and 1.1.

@asfgit asfgit closed this in cb0eae3 Nov 6, 2014
asfgit pushed a commit that referenced this pull request Nov 6, 2014
Mesos offers may not contain all resources, and Spark needs to check to
ensure they are present and sufficient.  Spark may throw an erroneous
exception when resources aren't present.

Author: Brenden Matthews <brenden@diddyinc.com>

Closes #3024 from brndnmtthws/fix-mesos-resource-misuse and squashes the following commits:

e5f9580 [Brenden Matthews] [SPARK-4158] Fix for missing resources.

(cherry picked from commit cb0eae3)
Signed-off-by: Andrew Or <andrew@databricks.com>
asfgit pushed a commit that referenced this pull request Nov 6, 2014
Mesos offers may not contain all resources, and Spark needs to check to
ensure they are present and sufficient.  Spark may throw an erroneous
exception when resources aren't present.

Author: Brenden Matthews <brenden@diddyinc.com>

Closes #3024 from brndnmtthws/fix-mesos-resource-misuse and squashes the following commits:

e5f9580 [Brenden Matthews] [SPARK-4158] Fix for missing resources.

(cherry picked from commit cb0eae3)
Signed-off-by: Andrew Or <andrew@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants