Skip to content

Commit cee6be2

Browse files
author
Marcelo Vanzin
committed
Add mima excludes.
SparkHadoopUtil is not documented as a public class in Spark's API docs, so just added new exclusions.
1 parent c80554b commit cee6be2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

project/MimaExcludes.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ object MimaExcludes {
3636

3737
// Exclude rules for 2.3.x
3838
lazy val v23excludes = v22excludes ++ Seq(
39+
// SPARK-22372: Make cluster submission use SparkApplication.
40+
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.deploy.SparkHadoopUtil.getSecretKeyFromUserCredentials"),
41+
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.deploy.SparkHadoopUtil.isYarnMode"),
42+
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.deploy.SparkHadoopUtil.getCurrentUserCredentials"),
43+
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.deploy.SparkHadoopUtil.addSecretKeyToUserCredentials"),
44+
3945
// SPARK-18085: Better History Server scalability for many / large applications
4046
ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.status.api.v1.ExecutorSummary.executorLogs"),
4147
// [SPARK-20495][SQL] Add StorageLevel to cacheTable API

0 commit comments

Comments
 (0)