GitHub user rxin opened a pull request:

    https://github.com/apache/spark/pull/9175

    Minor cleanup of ShuffleMapStage.outputLocs code.

    I was looking at this code and found the documentation to be insufficient. 
I added more documentation, and refactored some relevant code path slightly to 
improve encapsulation. There are more that I want to do, but I want to get 
these changes in before doing more work.
    
    My goal is to reduce exposing internal fields directly in ShuffleMapStage 
to improve encapsulation. After this change, DAGScheduler no longer directly 
writes outputLocs. There are still 3 places that reads outputLocs directly, but 
we can change those later.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rxin/spark stage-cleanup

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/9175.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #9175
    
----
commit f58dca57a2bb29a7f0439a19bb45bf32f2de9855
Author: Reynold Xin <[email protected]>
Date:   2015-10-20T08:17:34Z

    Minor cleanup of ShuffleMapStage.outputLocs code.

----


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