aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorPrashant Sharma <prashant.s@imaginea.com>2014-10-16 21:38:45 -0400
committerPatrick Wendell <pwendell@gmail.com>2014-10-16 21:38:45 -0400
commit2fe0ba95616bb3860736b6b426635a5d2a0e9bd9 (patch)
tree80c42707128cf5f7ec50e63bcd24d5c943d66049 /project
parent99e416b6d64402a5432a265797a1c155a38f4e6f (diff)
downloadspark-2fe0ba95616bb3860736b6b426635a5d2a0e9bd9.tar.gz
spark-2fe0ba95616bb3860736b6b426635a5d2a0e9bd9.tar.bz2
spark-2fe0ba95616bb3860736b6b426635a5d2a0e9bd9.zip
SPARK-3874: Provide stable TaskContext API
This is a small number of clean-up changes on top of #2782. Closes #2782. Author: Prashant Sharma <prashant.s@imaginea.com> Author: Patrick Wendell <pwendell@gmail.com> Closes #2803 from pwendell/pr-2782 and squashes the following commits: 56d5b7a [Patrick Wendell] Minor clean-up 44089ec [Patrick Wendell] Clean-up the TaskContext API. ed551ce [Prashant Sharma] Fixed a typo df261d0 [Prashant Sharma] Josh's suggestion facf3b1 [Prashant Sharma] Fixed the mima issue. 7ecc2fe [Prashant Sharma] CR, Moved implementations to TaskContextImpl bbd9e05 [Prashant Sharma] adding missed out files to git. ef633f5 [Prashant Sharma] SPARK-3874, Provide stable TaskContext API
Diffstat (limited to 'project')
-rw-r--r--project/MimaBuild.scala2
-rw-r--r--project/MimaExcludes.scala6
2 files changed, 6 insertions, 2 deletions
diff --git a/project/MimaBuild.scala b/project/MimaBuild.scala
index 39f8ba4745..d919b18e09 100644
--- a/project/MimaBuild.scala
+++ b/project/MimaBuild.scala
@@ -32,7 +32,7 @@ object MimaBuild {
ProblemFilters.exclude[MissingMethodProblem](fullName),
// Sometimes excluded methods have default arguments and
// they are translated into public methods/fields($default$) in generated
- // bytecode. It is not possible to exhustively list everything.
+ // bytecode. It is not possible to exhaustively list everything.
// But this should be okay.
ProblemFilters.exclude[MissingMethodProblem](fullName+"$default$2"),
ProblemFilters.exclude[MissingMethodProblem](fullName+"$default$1"),
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index d499302124..350aad4773 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -50,7 +50,11 @@ object MimaExcludes {
"org.apache.spark.mllib.stat.MultivariateStatisticalSummary.normL2"),
// MapStatus should be private[spark]
ProblemFilters.exclude[IncompatibleTemplateDefProblem](
- "org.apache.spark.scheduler.MapStatus")
+ "org.apache.spark.scheduler.MapStatus"),
+ // TaskContext was promoted to Abstract class
+ ProblemFilters.exclude[AbstractClassProblem](
+ "org.apache.spark.TaskContext")
+
)
case v if v.startsWith("1.1") =>