Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Zookeeper log and data cleaning

$
0
0
I'm writing a simple java program that calls the PurgeTxnLog.purge to use
it to periodically clean the server logs.

But with basic tests noting seams to be deleted. Btw, I'm running this in a
Windows environment

I'm just calling like this:
PurgeTxnLog.purge(new File(dataPathLocation, new File(dataPathLocation),
3);

(I'm using the same cause the data and logs are located in the same folder)

version 3.4.6

Thanks

Viewing all articles
Browse latest Browse all 5648

Trending Articles