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-3874: Provide stable TaskContext API #2803

Closed
wants to merge 8 commits into from

Conversation

pwendell
Copy link
Contributor

This is a small number of clean-up changes on top of #2782. Closes #2782.

@pwendell
Copy link
Contributor Author

Jenkins, test this please. With these changes this LGTM.

@SparkQA
Copy link

SparkQA commented Oct 14, 2014

QA tests have started for PR 2803 at commit e10c08d.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 14, 2014

QA tests have started for PR 2803 at commit 44089ec.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 14, 2014

QA tests have finished for PR 2803 at commit e10c08d.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public abstract class TaskContext implements Serializable

@AmplabJenkins
Copy link

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

@SparkQA
Copy link

SparkQA commented Oct 14, 2014

QA tests have finished for PR 2803 at commit 44089ec.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public abstract class TaskContext implements Serializable

@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/21731/
Test PASSed.

@@ -40,6 +40,7 @@ object MimaBuild {
ProblemFilters.exclude[IncompatibleResultTypeProblem](fullName),
ProblemFilters.exclude[IncompatibleMethTypeProblem](fullName),
ProblemFilters.exclude[IncompatibleFieldTypeProblem](fullName)
// ProblemFilters.exclude[AbstractClassProblem](fullName)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we just remove this instead of commenting it out?

@JoshRosen
Copy link
Contributor

LGTM.

}
public abstract boolean isInterrupted();

@Deprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super nit: add annotation after javadoc.

@pwendell
Copy link
Contributor Author

Thanks @JoshRosen and @vanzin - I've pushed a patch to address the style issues.

@AmplabJenkins
Copy link

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

@pwendell
Copy link
Contributor Author

Jenkins, retest this please.

@AmplabJenkins
Copy link

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

@SparkQA
Copy link

SparkQA commented Oct 15, 2014

QA tests have started for PR 2803 at commit 56d5b7a.

  • This patch merges cleanly.

"org.apache.spark.scheduler.MapStatus"),
// TaskContext was promoted to Abstract class
ProblemFilters.exclude[AbstractClassProblem](
"org.apache.spark.TaskContext")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I felt we could exclude this generally, it did not made sense to me to report these errors for classes marked developerApi or experimental. Thoughts ?

@SparkQA
Copy link

SparkQA commented Oct 15, 2014

QA tests have finished for PR 2803 at commit 56d5b7a.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public abstract class TaskContext implements Serializable

@pwendell
Copy link
Contributor Author

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Oct 16, 2014

QA tests have started for PR 2803 at commit 56d5b7a.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 16, 2014

QA tests have finished for PR 2803 at commit 56d5b7a.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public abstract class TaskContext implements Serializable

@AmplabJenkins
Copy link

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

@pwendell
Copy link
Contributor Author

Jenkins, test this please. @liancheng - I am getting a SQL failure here that seems like it might be legitimate but I'm having trouble interpreting why it could possibly be caused by this patch - any idea?

@pwendell
Copy link
Contributor Author

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Oct 16, 2014

QA tests have started for PR 2803 at commit 56d5b7a.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 16, 2014

QA tests have finished for PR 2803 at commit 56d5b7a.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public abstract class TaskContext implements Serializable

@AmplabJenkins
Copy link

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

@pwendell
Copy link
Contributor Author

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Oct 16, 2014

QA tests have started for PR 2803 at commit 56d5b7a.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 17, 2014

QA tests have finished for PR 2803 at commit 56d5b7a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public abstract class TaskContext implements Serializable

@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/21826/
Test PASSed.

@pwendell
Copy link
Contributor Author

Great @liancheng that seems to have done it.

@asfgit asfgit closed this in 2fe0ba9 Oct 17, 2014
@liancheng
Copy link
Contributor

@pwendell I'm not pretty sure about that... This PR fixes the race condition, but the first Jenkins build of this PR also suffered the spark.local.dir clean up failure issue, which doesn't happen deterministically. It seems that the temporary directories under /tmp got corrupted. Maybe it's related to Jenkins environment. I observed this kind of failure pretty frequently last night (e.g. build 21797), but now it's gone. Let's wait and see whether it happens again.

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