GitHub user davies opened a pull request: https://github.com/apache/spark/pull/11826
[SPARK-14007] [SQL] Cleanup hash2 ## What changes were proposed in this pull request? This PR try acquire the memory for hash map in shuffled hash join, fail the task if there is no enough memory (otherwise it could OOM the executor). It also removed unused HashedRelation. ## How was this patch tested? Existing unit tests. Manual tests with TPCDS Q78. You can merge this pull request into a Git repository by running: $ git pull https://github.com/davies/spark cleanup_hash2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/11826.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 #11826 ---- commit d84e581a74591211a0ebb1e25cf35d12bf59f23c Author: Davies Liu <dav...@databricks.com> Date: 2016-03-18T07:24:11Z acquire memory for hash map commit 312e4ff27db4c4650633821dae538f5a6b412ea9 Author: Davies Liu <dav...@databricks.com> Date: 2016-03-18T17:50:50Z tiny fix ---- --- 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