Github user jinxing64 commented on the issue:

    https://github.com/apache/spark/pull/16620
  
    @squito 
    Thanks a lot for your comments, they are very helpful. I've already refined 
the code, please take another look : )
    
    When handle `Success` of `ShuffleMapTask`, what I want to do is to check 
whether there is some tasks running for some other partitions, if so, do not 
resubmit if `pendingPartitions.isEmpty && !stage.isAvailable`. there are two 
benefits for this:
    1. Success of the running tasks have chance to update mapstatus to 
`ShuffleMapStage`, and turn it to be available;
    2. Avoid submitting conflicting `taskSet`


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to