zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Chhapru <nilesh.chha...@ugamsolutions.com>
Subject Re: Remove data in ZooKeeper
Date Wed, 29 Jul 2015 09:47:18 GMT
Thanks Rakesh.

Let me change and check i will get back to you soon.

Regards
Nilesh Chhapru.

On Wednesday 29 July 2015 02:04 PM, Rakesh R wrote:
> Following has been taken from your configuration:-
>
> # 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
>
>
> Did you observe any exception in your logs while executing the purge task? 
> 	throw new IllegalArgumentException("count should be greater than 3");
>
> It seems the snapRetainCount should be greater than 3. Could you please modify this to
"autopurge.snapRetainCount=3" and retest.
>
> -Rakesh
>
> -----Original Message-----
> From: Nilesh Chhapru [mailto:nilesh.chhapru@ugamsolutions.com] 
> Sent: 29 July 2015 13:36
> To: Rakesh R; user@zookeeper.apache.org
> Subject: Re: Remove data in ZooKeeper
>
> 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:nilesh.chhapru@ugamsolutions.com] 
>> Sent: 29 July 2015 11:48
>> To: user@zookeeper.apache.org
>> 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:openlinuxsource@gmail.com]
>> Sent: 29 July 2015 09:29
>> To: user@zookeeper.apache.org<mailto:user@zookeeper.apache.org>
>> 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
>>
>>
>>
>>
>


Mime
View raw message