Hi Rakesh, PFB the required details.
1) Zookeeper Version : 3.4.6 2) Check attachment for config file. Regards, Nilesh Chhapru. On Wednesday 29 July 2015 12:48 PM, Rakesh R wrote: > It would be helpful if you could share more details like, > > 1) zookeeper server version > 2) send zoo.cfg configuration values > 3) send server logs > 4) Once auto purge is enabled, there will be a timer available for > scheduling the purge task. Please observe this timer thread status by taking > the thread dump. Timer - "PurgeTask" > > -Rakesh > > -----Original Message----- > From: Nilesh Chhapru [mailto:[email protected]] > Sent: 29 July 2015 11:48 > To: [email protected] > Subject: Re: Remove data in ZooKeeper > > Hi Rakesh, > > I have a similar problem, but i have configured "autopurge.snapRetainCount > and autopurge.purgeInterval" in my zoo.cfg file still its isn't clearing. > > Am i missing anything here, do we have to run any demon or anything. > > Regards, > Nilesh Chhapru. > > > On Wednesday 29 July 2015 10:37 AM, Rakesh R wrote: > > Yes, ZooKeeper has data directory cleanup facility, did you try this. > > Reference: > http://zookeeper.apache.org/doc/r3.5.0-alpha/zookeeperAdmin.html#Ongoing+Data+Directory+Cleanup > > -Rakesh > > -----Original Message----- > From: Lee Eric [mailto:[email protected]] > Sent: 29 July 2015 09:29 > To: [email protected]<mailto:[email protected]> > Subject: Remove data in ZooKeeper > > Hi, > > Is there any way to purge zookeeper data? I tried to remove snapshot files > but seems not working. > > Thanks. > > Hui > > > >
# The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. # do not use /tmp for storage, /tmp here is just # example sakes. dataDir=/opt/ZooKeeper/dataDir # the port at which the clients will connect clientPort=2181 # the maximum number of client connections. # increase this if you need to handle more clients maxClientCnxns=1500 # # Be sure to read the maintenance section of the # administrator guide before turning on autopurge. # # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance # # The number of snapshots to retain in dataDir autopurge.snapRetainCount=2 # Purge task interval in hours # Set to "0" to disable auto purge feature autopurge.purgeInterval=24
