Github user li-zhihui commented on the pull request:

    https://github.com/apache/spark/pull/900#issuecomment-47061333
  
    @tgravescs 
    I add a new commit that move waitBackendReady from DAGScheduler.submitStage 
to TaskSchedulerImpl.submitTasks, for 2 reasons
    
    * Optimize performance, some works (creating TaskSet, building task 
preferred locality...)  is irrelevant with executor, that can be done before 
waiting backend ready.
    * Clear responsibility, it seems waiting backend ready is responsibility of 
TaskScheduler, not DAGScheduler.
     


---
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.
---

Reply via email to