GitHub user jinxing64 opened a pull request: https://github.com/apache/spark/pull/21342
[SPARK-24294] Throw SparkException when OOM in BroadcastExchangeExec ## What changes were proposed in this pull request? When OutOfMemoryError thrown from BroadcastExchangeExec, scala.concurrent.Future will hit scala bug â https://github.com/scala/bug/issues/9554, and hang until future timeout: We could wrap the OOM inside SparkException to resolve this issue. ## How was this patch tested? Manually tested. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinxing64/spark SPARK-24294 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21342.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 #21342 ---- commit 9d83f1fa397e205a826c2719a3b2978dae7d09ed Author: jinxing <jinxing6042@...> Date: 2018-05-16T07:49:34Z [SPARK-24294] Throw SparkException when OOM in BroadcastExchangeExec ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org