GitHub user shivaram opened a pull request: https://github.com/apache/spark/pull/2871
[WIP] [SPARK-4031] Make torrent broadcast read blocks on use. This avoids reading broadcast variables when they are referenced in the closure but not used by the code. Note: This is a WIP and a request for comments. I will update HttpBroadcast and add some tests if it sounds good. cc @rxin @JoshRosen for review You can merge this pull request into a Git repository by running: $ git pull https://github.com/shivaram/spark-1 broadcast-read-value Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/2871.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 #2871 ---- commit 8792ed8399f9d1501bf4a38694531a8440d65448 Author: Shivaram Venkataraman <shiva...@cs.berkeley.edu> Date: 2014-10-21T05:35:03Z Make torrent broadcast read blocks on use. This avoids reading broadcast variables when they are referenced in the closure but not used by the 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 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