aboutsummaryrefslogtreecommitdiff
path: root/licenses/LICENSE-DPark.txt
diff options
context:
space:
mode:
authorShixiong Zhu <shixiong@databricks.com>2016-10-26 10:36:36 -0700
committerShixiong Zhu <shixiong@databricks.com>2016-10-26 10:36:36 -0700
commit7ac70e7ba8d610a45c21a70dc28e4c989c19451b (patch)
tree14cb17b246590e2d897f354f87e955b0d55b4b1f /licenses/LICENSE-DPark.txt
parent312ea3f7f65532818e11016d6d780ad47485175f (diff)
downloadspark-7ac70e7ba8d610a45c21a70dc28e4c989c19451b.tar.gz
spark-7ac70e7ba8d610a45c21a70dc28e4c989c19451b.tar.bz2
spark-7ac70e7ba8d610a45c21a70dc28e4c989c19451b.zip
[SPARK-13747][SQL] Fix concurrent executions in ForkJoinPool for SQL
## What changes were proposed in this pull request? Calling `Await.result` will allow other tasks to be run on the same thread when using ForkJoinPool. However, SQL uses a `ThreadLocal` execution id to trace Spark jobs launched by a query, which doesn't work perfectly in ForkJoinPool. This PR just uses `Awaitable.result` instead to prevent ForkJoinPool from running other tasks in the current waiting thread. ## How was this patch tested? Jenkins Author: Shixiong Zhu <shixiong@databricks.com> Closes #15520 from zsxwing/SPARK-13747.
Diffstat (limited to 'licenses/LICENSE-DPark.txt')
0 files changed, 0 insertions, 0 deletions