GitHub user SaintBacchus opened a pull request:
https://github.com/apache/spark/pull/14534
[SPARK-16941]Add SynchronizedMap trait with Map in SparkSQLOperationManager.
## What changes were proposed in this pull request?
ThriftServer will have some thread-safe problem in
**SparkSQLOperationManager**.
Add a SynchronizedMap trait for the maps in it to avoid this problem.
Details in [SPARK-16941](https://issues.apache.org/jira/browse/SPARK-16941)
## How was this patch tested?
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SaintBacchus/spark SPARK-16941
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14534.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 #14534
----
commit 4af58bc3c9e3ff436e6258aff96a663cf55aa8ba
Author: huangzhaowei <[email protected]>
Date: 2016-08-08T04:06:17Z
Add SynchronizedMap trait with Map in SparkSQLOperationManager to avoid
concurrency problem.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]