From 27a519e4297aa21b0ed16b080a36378ac63e83a1 Mon Sep 17 00:00:00 2001 From: Wayne Schneider Date: Mon, 1 Aug 2016 14:54:54 -0500 Subject: [PATCH] Zookeeper configuration. --- conf/zookeeper/zoo.cfg | 7 ++++++- debian/lui-zookeeper.default | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/conf/zookeeper/zoo.cfg b/conf/zookeeper/zoo.cfg index 61c0460..dc53f64 100644 --- a/conf/zookeeper/zoo.cfg +++ b/conf/zookeeper/zoo.cfg @@ -1,3 +1,8 @@ tickTime=2000 dataDir=/var/lib/masterkey/lui/zookeeper -clientPort=2181 \ No newline at end of file +clientPort=2181 +# initLimit=5 +# syncLimit=2 +# server.1=zookeeper1:2888:3888 +# server.2=zookeeper2:2888:3888 +# server.3=zookeeper3:2888:3888 diff --git a/debian/lui-zookeeper.default b/debian/lui-zookeeper.default index a6a318e..3b6d4bd 100755 --- a/debian/lui-zookeeper.default +++ b/debian/lui-zookeeper.default @@ -30,6 +30,9 @@ ZOO_LOG_DIR=/var/log/masterkey/lui ZOOPIDDIR=/var/lib/masterkey/lui ZOOPIDFILE=${ZOOPIDDIR}/zookeeper_server.pid +JMXDISABLE=1 +JVMFLAGS="-Xmx512m -Xms256m" + if [ "x$ZOOCFGDIR" = "x" ] then if [ -e "${ZOOKEEPER_PREFIX}/conf" ]; then -- 1.7.10.4