zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jzimmer...@netflix.com>
Subject Re: How to set the class path and java heap size
Date Thu, 30 Aug 2012 15:56:06 GMT
It's just for the java options

====================
Jordan Zimmerman

On Aug 30, 2012, at 9:36 AM, "David Nickerson" <davidnickerson4mailinglists@gmail.com>
wrote:

> This "java.env" configuration seems to be non-standard
> and ZooKeeper-specific. I also can't find it anywhere in the ZooKeeper
> documentation. Would  "java.env" look like this?
> 
> export CLASSPATH="~/zookeeper-3.3.6/conf/log4j.properties"
> export JVMFLAGS="-Xmx1500m"
> 
> On Wed, Aug 29, 2012 at 5:17 PM, Jordan Zimmerman <
> jordan@jordanzimmerman.com> wrote:
> 
>> Add a file named "java.env" to the "conf" directory. But your Java
>> settings there.
>> 
>> On Aug 29, 2012, at 4:15 PM, David Nickerson <
>> davidnickerson4mailinglists@gmail.com> wrote:
>> 
>>> 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
View raw message