Zookeeper configuration.
authorWayne Schneider <wayne@indexdata.com>
Mon, 1 Aug 2016 19:54:54 +0000 (14:54 -0500)
committerWayne Schneider <wayne@indexdata.com>
Mon, 1 Aug 2016 19:54:54 +0000 (14:54 -0500)
conf/zookeeper/zoo.cfg
debian/lui-zookeeper.default

index 61c0460..dc53f64 100644 (file)
@@ -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
index a6a318e..3b6d4bd 100755 (executable)
@@ -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