From d518e56208c857fd1438d614961a2c66dd92ca7d Mon Sep 17 00:00:00 2001 From: Jan Kubovy Date: Thu, 15 Oct 2020 10:48:40 +0200 Subject: 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 --- tools/test-setup.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') 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 -- cgit v1.2.1