Github user shivaram commented on the pull request:

    https://github.com/apache/spark/pull/8280#issuecomment-132331662
  
    So my hypothesis right now is that the RDD in the reduce stage has two 
Shuffle dependencies and the first shuffle dependency happens to be the single 
map task stage -- so the locality preference ends up giving all the tasks to 
the single host.
    
    Hmm so my guess is that we need to be able to differentiate among different 
shuffle dependencies ideally. Here is another suggestion: Can we turn this off 
if we have more than one shuffle dependency ? it should be pretty cheap to 
count that 


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