apache/spark — pull request #2871 by shivaram (2014-10-21 05:43:02+00:00)
Title: [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