diff options
author | Davies Liu <davies@databricks.com> | 2015-01-21 16:51:42 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-01-21 16:51:54 -0800 |
commit | 9bad062268676aaa66dcbddd1e0ab7f2d7742425 (patch) | |
tree | ee88b40ec5bb1d617ae0f1a63d4bbfe2e5f6f58c /sql | |
parent | 3be2a887bf6107b6398e472872b22175ea4ae1f7 (diff) | |
download | spark-9bad062268676aaa66dcbddd1e0ab7f2d7742425.tar.gz spark-9bad062268676aaa66dcbddd1e0ab7f2d7742425.tar.bz2 spark-9bad062268676aaa66dcbddd1e0ab7f2d7742425.zip |
[SPARK-5355] make SparkConf thread-safe
The SparkConf is not thread-safe, but is accessed by many threads. The getAll() could return parts of the configs if another thread is access it.
This PR changes SparkConf.settings to a thread-safe TrieMap.
Author: Davies Liu <davies@databricks.com>
Closes #4143 from davies/safe-conf and squashes the following commits:
f8fa1cf [Davies Liu] change to TrieMap
a1d769a [Davies Liu] make SparkConf thread-safe
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions