[ 
https://issues.apache.org/jira/browse/SPARK-32442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165158#comment-17165158
 ] 

Apache Spark commented on SPARK-32442:
--------------------------------------

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/29240

> Fix TaskSetManagerSuite by hiding `org.apache.spark.FakeSchedulerBackend`
> -------------------------------------------------------------------------
>
>                 Key: SPARK-32442
>                 URL: https://issues.apache.org/jira/browse/SPARK-32442
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, Tests
>    Affects Versions: 3.1.0
>            Reporter: Dongjoon Hyun
>            Priority: Major
>
> There exists two FakeSchedulerBackend.
> {code}
> $ git grep "class FakeSchedulerBackend"
> core/src/test/scala/org/apache/spark/HeartbeatReceiverSuite.scala:private 
> class FakeSchedulerBackend(
> core/src/test/scala/org/apache/spark/scheduler/TaskSchedulerImplSuite.scala:class
>  FakeSchedulerBackend extends SchedulerBackend {
> {code}
> Although `TaskSetManagerSuite` is inside `org.apache.spark.scheduler` 
> package, `import org.apache.spark._` makes Scala 2.13 confused and causes 4 
> UT failures.
> {code}
> $ build/mvn test -pl core --am -Pscala-2.13 -Dtest=none 
> -DwildcardSuites=org.apache.spark.scheduler.TaskSetManagerSuite
> ...
> Tests: succeeded 48, failed 4, canceled 0, ignored 0, pending 0
> *** 4 TESTS FAILED ***
> {code}
> This issue aims to fix that by hiding that.
> {code}
> import org.apache.spark.{FakeSchedulerBackend => _, _}
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to