aboutsummaryrefslogtreecommitdiff
path: root/python/test_support/userlib-0.1.zip
diff options
context:
space:
mode:
authorShixiong Zhu <shixiong@databricks.com>2016-03-17 13:05:29 +0000
committerSean Owen <sowen@cloudera.com>2016-03-17 13:05:29 +0000
commit65b75e66e89075e23ccaa3813648397b3ec010fe (patch)
treea5a9142db7b90a3f8e8224d48f356a322b12357c /python/test_support/userlib-0.1.zip
parent1974d1d34d42c91730eaf45f7958cfab4827a14c (diff)
downloadspark-65b75e66e89075e23ccaa3813648397b3ec010fe.tar.gz
spark-65b75e66e89075e23ccaa3813648397b3ec010fe.tar.bz2
spark-65b75e66e89075e23ccaa3813648397b3ec010fe.zip
[SPARK-13776][WEBUI] Limit the max number of acceptors and selectors for Jetty
## What changes were proposed in this pull request? As each acceptor/selector in Jetty will use one thread, the number of threads should at least be the number of acceptors and selectors plus 1. Otherwise, the thread pool of Jetty server may be exhausted by acceptors/selectors and not be able to response any request. To avoid wasting threads, the PR limits the max number of acceptors and selectors and also updates the max thread number if necessary. ## How was this patch tested? Just make sure we don't break any existing tests Author: Shixiong Zhu <shixiong@databricks.com> Closes #11615 from zsxwing/SPARK-13776.
Diffstat (limited to 'python/test_support/userlib-0.1.zip')
0 files changed, 0 insertions, 0 deletions