Yes, under the /zookeeper On 14 September 2011 23:13, kishore g <[email protected]> wrote:
> *I constructed under the "zookeeper" node* > Do you mean you created under /zookeeper. > > On Wed, Sep 14, 2011 at 8:06 AM, Xuehan Xu <[email protected]> wrote: > > > I constructed under the "zookeeper" node an EPHEMERAL node representing > my > > PC, and store the usage information of cpu, memory and hard disk in the > > form > > of a POJO as the data of the node which is refreshed every two seconds > > > > On 14 September 2011 20:25, Ted Dunning <[email protected]> wrote: > > > > > What kind of data are you storing on the Zookeeper servers? > > > > > > On Wed, Sep 14, 2011 at 6:34 AM, Xuehan Xu <[email protected]> > > wrote: > > > > > > > Dear Sirs: > > > > I'm learning how to use zookeeper. I've downloaded both the > 3.2.0 > > > and > > > > 3.3.3 versions. There are three zookeeper servers running on my PC > with > > > the > > > > following configuration for each them, among which the dataDir and > > > > clientPort are configured differently: > > > > > > > > tickTime=2000 > > > > initLimit=10 > > > > syncLimit=5 > > > > dataDir=/export/mahadev/zookeeper/server1/data > > > > clientPort=2181 > > > > server.1=10.65.134.219:2888:3888 > > > > server.2=10.65.134.219:2889:3889 > > > > server.3=10.65.134.219:2890:3890 > > > > > > > > I also wrote a client to report the PC performance information like > > > memory > > > > usage, network performance and idle cpu time to the zookeeper > servers. > > > The > > > > report cycle is 2 seconds. > > > > > > > > But both versions of zookeeper throws the OutOfMemoryError exception > > when > > > > kept running for about 50 minutes. Is this due to a memory leak error > > > > inside > > > > the zookeeper itself or some miss configuration of myself? > > > > > > > > Thanks for your help:-) > > > > > > > > > >
