zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nickerson <davidnickerson4mailingli...@gmail.com>
Subject How to set the class path and java heap size
Date Wed, 29 Aug 2012 21:15:00 GMT
I'm starting a ZooKeeper server on Linux by running the following script:

#!/bin/bash
export CLASSPATH="~/zookeeper-3.3.6/conf/log4j.properties"
export JVMFLAGS="-Xmx1500m"
~/zookeeper-3.3.6/bin/zkServer.sh start

It seems to work fine, but is this properly adding the log4j.properties
file to the classpath and setting the java heap size?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message