GitHub user dongjoon-hyun opened a pull request: https://github.com/apache/spark/pull/13634
[SPARK-15913][CORE] Dispatcher.stopped should be enclosed by synchronized block. ## What changes were proposed in this pull request? `Dispatcher.stopped` is guarded by `this`, but it is used without synchronization in `postMessage` function. This PR fixes this and also the exception message became more accurate. ## How was this patch tested? Pass the existing Jenkins tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dongjoon-hyun/spark SPARK-15913 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/13634.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 #13634 ---- commit 75a5254371374faf66f166e1b2683d3f9803cb8e Author: Dongjoon Hyun <dongj...@apache.org> Date: 2016-06-13T05:53:47Z [SPARK-15913][CORE] Dispatcher.stopped should be enclosed by synchronized block. ---- --- 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