aboutsummaryrefslogtreecommitdiff
path: root/docs/mllib-naive-bayes.md
diff options
context:
space:
mode:
authorwangfei <wangfei_hello@126.com>2014-08-19 19:37:02 -0700
committerReynold Xin <rxin@apache.org>2014-08-19 19:37:02 -0700
commit0e3ab94d413fd70fff748fded42ab5e2ebd66fcc (patch)
treef701a967ccaf450f40a1d908566d62034480dacc /docs/mllib-naive-bayes.md
parentc7252b0097cfacd36f17357d195b12a59e503b35 (diff)
downloadspark-0e3ab94d413fd70fff748fded42ab5e2ebd66fcc.tar.gz
spark-0e3ab94d413fd70fff748fded42ab5e2ebd66fcc.tar.bz2
spark-0e3ab94d413fd70fff748fded42ab5e2ebd66fcc.zip
[SQL] add note of use synchronizedMap in SQLConf
Refer to: http://stackoverflow.com/questions/510632/whats-the-difference-between-concurrenthashmap-and-collections-synchronizedmap Collections.synchronizedMap(map) creates a blocking Map which will degrade performance, albeit ensure consistency. So use ConcurrentHashMap(a more effective thread-safe hashmap) instead. also update HiveQuerySuite to fix test error when changed to ConcurrentHashMap. Author: wangfei <wangfei_hello@126.com> Author: scwf <wangfei1@huawei.com> Closes #1996 from scwf/sqlconf and squashes the following commits: 93bc0c5 [wangfei] revert change of HiveQuerySuite 0cc05dd [wangfei] add note for use synchronizedMap 3c224d31 [scwf] fix formate a7bcb98 [scwf] use ConcurrentHashMap in sql conf, intead synchronizedMap
Diffstat (limited to 'docs/mllib-naive-bayes.md')
0 files changed, 0 insertions, 0 deletions