GitHub user mattf opened a pull request: https://github.com/apache/spark/pull/1197
[SPARK-2244] Fix hang introduced by SPARK-1466 The fix to SPARK-1466 (sha 38702487) opens a buffer for stderr, but does not drain it under normal operation. The result is an eventual hang during IPC. The fix here is to close stderr after it is no longer used. Related, but not addressed here, SPARK-1466 also removes stderr from the console in the pyspark shell. It should be reintroduced with a -verbose option. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mattf/spark SPARK-2244 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1197.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 #1197 ---- commit fafffc88f007e0899f3b683bea2e897edf3ce9a5 Author: Matthew Farrellee <m...@redhat.com> Date: 2014-06-24T18:56:36Z [SPARK-2244] Fix hang introduced by SPARK-1466 The fix to SPARK-1466 (sha 38702487) opens a buffer for stderr, but does not drain it under normal operation. The result is an eventual hang during IPC. The fix here is to close stderr after it is no longer used. Related, but not addressed here, SPARK-1466 also removes stderr from the console in the pyspark shell. It should be reintroduced with a -verbose option. ---- --- 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. ---