diff options
author | Jan Kubovy <jan.kubovy@bmw.de> | 2020-10-15 10:48:40 +0200 |
---|---|---|
committer | Felix Edel <felix.edel@bmw.de> | 2021-02-15 14:44:18 +0100 |
commit | d518e56208c857fd1438d614961a2c66dd92ca7d (patch) | |
tree | 57146b7484f4d666fa7533c5491edf82915ed5ca /tools | |
parent | dddbb3dbfe4e307072ae7c3c911ccffb02835d3a (diff) | |
download | zuul-d518e56208c857fd1438d614961a2c66dd92ca7d.tar.gz |
Prepare Zookeeper for scale-out scheduler
This change is a common root for other
Zookeeper related changed regarding
scale-out-scheduler. Zookeeper becoming
a central component requires to increase
"maxClientCnxns".
Since the ZooKeeper class is expected to grow
significantly (ZooKeeper is becoming a central part
of Zuul) a split of the ZooKeeper class (zk.py) into
zk module is done here to avoid the current god-class.
Also the zookeeper log is copied to the "zuul_output_dir".
Change-Id: I714c06052b5e17269a6964892ad53b48cf65db19
Story: 2007192
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/test-setup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-setup.sh b/tools/test-setup.sh index 7416040ae..cb524f9c5 100755 --- a/tools/test-setup.sh +++ b/tools/test-setup.sh @@ -11,6 +11,8 @@ TOOLSDIR=$(dirname $0) sudo service zookeeper stop DATADIR=$(sed -n -e 's/^dataDir=//p' /etc/zookeeper/conf/zoo.cfg) sudo mount -t tmpfs -o nodev,nosuid,size=500M none $DATADIR +echo "autopurge.purgeInterval=1" | sudo tee -a /etc/zookeeper/conf/zoo.cfg +echo "maxClientCnxns=1000" | sudo tee -a /etc/zookeeper/conf/zoo.cfg # Prepare a tmpfs for Zuul test root if [[ -n "${ZUUL_TEST_ROOT:-}" ]]; then |