GitHub user andrewor14 opened a pull request: https://github.com/apache/spark/pull/11586
[SPARK-13747][SQL] Fix concurrent query with fork-join pool ## What changes were proposed in this pull request? Fix this use case, which was already fixed in SPARK-10548 in 1.6 but was broken in master due to #9264: ``` (1 to 100).par.foreach { _ => sc.parallelize(1 to 5).map { i => (i, i) }.toDF("a", "b").count() } ``` This threw `IllegalArgumentException` consistently before this patch. For more detail, see the JIRA. ## How was this patch tested? New test in `SQLExecutionSuite`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/andrewor14/spark fix-concurrent-sql Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/11586.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 #11586 ---- commit 661c28ec090c55bdfd536c6a41e5e57078a646a2 Author: Andrew Or <and...@databricks.com> Date: 2016-03-08T20:35:45Z Fix concurrent query with fork-join pool ---- --- 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