GitHub user sahilTakiar opened a pull request: https://github.com/apache/spark/pull/20893
[SPARK-23785][LAUNCHER] LauncherBackend doesn't check state of connection before setting state ## What changes were proposed in this pull request? Changed `LauncherBackend` `set` method so that it checks if the connection is open or not before writing to it (uses `isConnected`). ## How was this patch tested? None You can merge this pull request into a Git repository by running: $ git pull https://github.com/sahilTakiar/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20893.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 #20893 ---- commit 1896236c9b79975e8add4017eb7fafc1cec59d70 Author: Sahil Takiar <stakiar@...> Date: 2018-03-23T20:24:21Z [SPARK-23785][LAUNCHER] LauncherBackend doesn't check state of connection before setting state ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org