Github user davies commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3779#discussion_r23336266
  
    --- Diff: 
core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala ---
    @@ -313,7 +313,8 @@ class TaskSetManagerSuite extends FunSuite with 
LocalSparkContext with Logging {
     
       test("delay scheduling with failed hosts") {
         sc = new SparkContext("local", "test")
    -    val sched = new FakeTaskScheduler(sc, ("exec1", "host1"), ("exec2", 
"host2"))
    +    val sched = new FakeTaskScheduler(sc, ("exec1", "host1"), ("exec2", 
"host2"),
    +      ("exec3", "host3"))
    --- End diff --
    
    Because it will change the locality level to NO_PREF if no active executor 
available. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to