Re: Get transaction count from ZooKeeper transaction logs

2018-07-10 Thread Jostein Elvaker Haande
On Wed, 11 Jul 2018 at 02:48, Shawn Heisey wrote: > On 7/10/2018 3:32 PM, Jostein Elvaker Haande wrote: > > I'm trying to find an effective way to find the number of transactions > You have detailed questions about the inner workings of ZooKeeper. This > is not a ZooKeeper mailing list. It is a

Re: Get transaction count from ZooKeeper transaction logs

2018-07-10 Thread Shawn Heisey
On 7/10/2018 3:32 PM, Jostein Elvaker Haande wrote: I'm trying to find an effective way to find the number of transactions stored in the ZooKeeper transaction logs. The only method I've found so far is by using the Java class 'org.apache.zookeeper.server.LogFormatter' which o

Get transaction count from ZooKeeper transaction logs

2018-07-10 Thread Jostein Elvaker Haande
Hello, I'm trying to find an effective way to find the number of transactions stored in the ZooKeeper transaction logs. The only method I've found so far is by using the Java class 'org.apache.zookeeper.server.LogFormatter' which outputs the following after it has formatte

RE: ZooKeeper transaction logs

2017-07-10 Thread Xie, Sean
ailto:sean@finra.org] Sent: Sunday, July 9, 2017 7:33 PM To: solr-user@lucene.apache.org Subject: Re: ZooKeeper transaction logs You can try run purge manually see if it is working: org.apache.zookeeper.server.PurgeTxnLog. And use a cron job to do clean up.

RE: ZooKeeper transaction logs

2017-07-10 Thread Avi Steiner
@lucene.apache.org Subject: Re: ZooKeeper transaction logs You can try run purge manually see if it is working: org.apache.zookeeper.server.PurgeTxnLog. And use a cron job to do clean up. On 7/9/17, 11:07 AM, "Avi Steiner" wrote: Hello I'm using Zookeeper 3.4.6 The ZK

RE: ZooKeeper transaction logs

2017-07-09 Thread Avi Steiner
Thanks for info, Sean Can I do it in Windows server? -Original Message- From: Xie, Sean [mailto:sean@finra.org] Sent: Sunday, July 9, 2017 7:33 PM To: solr-user@lucene.apache.org Subject: Re: ZooKeeper transaction logs You can try run purge manually see if it is working

Re: ZooKeeper transaction logs

2017-07-09 Thread Xie, Sean
You can try run purge manually see if it is working: org.apache.zookeeper.server.PurgeTxnLog. And use a cron job to do clean up. On 7/9/17, 11:07 AM, "Avi Steiner" wrote: Hello I'm using Zookeeper 3.4.6 The ZK log data folder keeps growing with transaction logs files (lo

ZooKeeper transaction logs

2017-07-09 Thread Avi Steiner
Hello I'm using Zookeeper 3.4.6 The ZK log data folder keeps growing with transaction logs files (log.*). I set the following in zoo.cfg: autopurge.purgeInterval=1 autopurge.snapRetainCount=3 dataDir=..\\data Per ZK log, it reads those parameters: 2017-07-09 17:44:59,792 [myid:] - INFO [main: