aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorDavies Liu <davies@databricks.com>2015-01-21 16:51:42 -0800
committerJosh Rosen <joshrosen@databricks.com>2015-01-21 16:51:54 -0800
commit9bad062268676aaa66dcbddd1e0ab7f2d7742425 (patch)
treeee88b40ec5bb1d617ae0f1a63d4bbfe2e5f6f58c /sql
parent3be2a887bf6107b6398e472872b22175ea4ae1f7 (diff)
downloadspark-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