aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-02-22 14:01:35 -0800
committerJosh Rosen <joshrosen@databricks.com>2016-02-22 14:01:35 -0800
commit4a91806a45a48432c3ea4c2aaa553177952673e9 (patch)
tree23ae670fd286bd0f7ae827579cb464534bddb520 /project
parent00461bb911c31aff9c945a14e23df2af4c280c23 (diff)
downloadspark-4a91806a45a48432c3ea4c2aaa553177952673e9.tar.gz
spark-4a91806a45a48432c3ea4c2aaa553177952673e9.tar.bz2
spark-4a91806a45a48432c3ea4c2aaa553177952673e9.zip
[SPARK-13413] Remove SparkContext.metricsSystem
## What changes were proposed in this pull request? This patch removes SparkContext.metricsSystem. SparkContext.metricsSystem returns MetricsSystem, which is a private class. I think it was added by accident. In addition, I also removed an unused private[spark] method schedulerBackend setter. ## How was the this patch tested? N/A. Author: Reynold Xin <rxin@databricks.com> This patch had conflicts when merged, resolved by Committer: Josh Rosen <joshrosen@databricks.com> Closes #11282 from rxin/SPARK-13413.
Diffstat (limited to 'project')
-rw-r--r--project/MimaExcludes.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 97a1e8b433..746223f39e 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -261,9 +261,13 @@ object MimaExcludes {
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.graphx.Graph.mapReduceTriplets"),
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.graphx.Graph.mapReduceTriplets$default$3"),
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.graphx.impl.GraphImpl.mapReduceTriplets")
- ) ++Seq(
+ ) ++ Seq(
// SPARK-13426 Remove the support of SIMR
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.SparkMasterRegex.SIMR_REGEX")
+ ) ++ Seq(
+ // SPARK-13413 Remove SparkContext.metricsSystem/schedulerBackend_ setter
+ ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.SparkContext.metricsSystem"),
+ ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.SparkContext.schedulerBackend_=")
)
case v if v.startsWith("1.6") =>
Seq(