HyukjinKwon opened a new pull request, #37109:
URL: https://github.com/apache/spark/pull/37109

   ### What changes were proposed in this pull request?
   
   This PR is a followup of https://github.com/apache/spark/pull/36716. Mima 
with Scala 2.13 complains about the changes in `DeployMessages` for some 
reasons:
   
   ```
   [error] spark-core: Failed binary compatibility check against 
org.apache.spark:spark-core_2.13:3.2.0! Found 6 potential problems (filtered 
933)
   [error]  * the type hierarchy of object 
org.apache.spark.deploy.DeployMessages#LaunchExecutor is different in current 
version. Missing types {scala.runtime.AbstractFunction7}
   [error]    filter with: 
ProblemFilters.exclude[MissingTypesProblem]("org.apache.spark.deploy.DeployMessages$LaunchExecutor$")
   [error]  * method requestedTotal()Int in class 
org.apache.spark.deploy.DeployMessages#RequestExecutors does not have a 
correspondent in current version
   [error]    filter with: 
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.deploy.DeployMessages#RequestExecutors.requestedTotal")
   [error]  * method 
copy(java.lang.String,Int)org.apache.spark.deploy.DeployMessages#RequestExecutors
 in class org.apache.spark.deploy.DeployMessages#RequestExecutors's type is 
different in current version, where it is 
(java.lang.String,scala.collection.immutable.Map)org.apache.spark.deploy.DeployMessages#RequestExecutors
 instead of 
(java.lang.String,Int)org.apache.spark.deploy.DeployMessages#RequestExecutors
   [error]    filter with: 
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.deploy.DeployMessages#RequestExecutors.copy")
   [error]  * synthetic method copy$default$2()Int in class 
org.apache.spark.deploy.DeployMessages#RequestExecutors has a different result 
type in current version, where it is scala.collection.immutable.Map rather than 
Int
   [error]    filter with: 
ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.deploy.DeployMessages#RequestExecutors.copy$default$2")
   [error]  * method this(java.lang.String,Int)Unit in class 
org.apache.spark.deploy.DeployMessages#RequestExecutors's type is different in 
current version, where it is 
(java.lang.String,scala.collection.immutable.Map)Unit instead of 
(java.lang.String,Int)Unit
   [error]    filter with: 
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.deploy.DeployMessages#RequestExecutors.this")
   [error]  * method 
apply(java.lang.String,Int)org.apache.spark.deploy.DeployMessages#RequestExecutors
 in object org.apache.spark.deploy.DeployMessages#RequestExecutors in current 
version does not have a correspondent with same parameter signature among 
(java.lang.String,scala.collection.immutable.Map)org.apache.spark.deploy.DeployMessages#RequestExecutors,
 (java.lang.Object,java.lang.Object)java.lang.Object
   [error]    filter with: 
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.deploy.DeployMessages#RequestExecutors.apply")
   ```
   
   https://github.com/apache/spark/runs/7221231391?check_suite_focus=true
   
   This PR adds the suggested filters.
   
   ### Why are the changes needed?
   
   To make the scheduled build (Scala 2.13) pass in 
https://github.com/apache/spark/actions/workflows/build_scala213.yml
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, dev-only. The alarms are false positive.
   
   ### How was this patch tested?
   
   CI should verify this,


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to