This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new fece7ed1b95 [SPARK-43195][BUILD][FOLLOWUP] Fix mima check for Scala
2.13
fece7ed1b95 is described below
commit fece7ed1b95224fc90751a331d820ddd44cf00f1
Author: yangjie01 <[email protected]>
AuthorDate: Sat Apr 22 09:25:27 2023 +0900
[SPARK-43195][BUILD][FOLLOWUP] Fix mima check for Scala 2.13
### What changes were proposed in this pull request?
This pr aims to fix mima check for Scala 2.13.
### Why are the changes needed?
Scala 2.13 daily test failed due to mima check failed:
- https://github.com/apache/spark/actions/runs/4757950254/jobs/8455416083
<img width="1668" alt="image"
src="https://user-images.githubusercontent.com/1475305/233678713-30c661e6-d5d0-424a-8b7f-c8a59bb0680a.png">
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Manual check with this pr
```
dev/change-scala-version.sh 2.13
dev/mima -Pscala-2.13
```
check passed
```
[success] Total time: 39 s, completed 2023-4-21 23:41:52
```
Closes #40901 from LuciferYang/SPARK-43195-FOLLOWUP.
Authored-by: yangjie01 <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
project/MimaExcludes.scala | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index b1513e04164..fef29aedfa8 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -37,7 +37,12 @@ object MimaExcludes {
// Exclude rules for 3.5.x from 3.4.0
lazy val v35excludes = defaultExcludes ++ Seq(
// [SPARK-43165][SQL] Move canWrite to DataTypeUtils
-
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.sql.types.DataType.canWrite")
+
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.sql.types.DataType.canWrite"),
+ // [SPARK-43195][CORE] Remove unnecessary serializable wrapper in
HadoopFSUtils
+
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.util.HadoopFSUtils$SerializableBlockLocation"),
+
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.util.HadoopFSUtils$SerializableBlockLocation$"),
+
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.util.HadoopFSUtils$SerializableFileStatus"),
+
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.util.HadoopFSUtils$SerializableFileStatus$")
)
// Defulat exclude rules
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]