Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> PurgeTxnLog


Copy link to this message
-
PurgeTxnLog
Hi,

We got a lot of log data and snapshots accumlated in ZK (version 3.3.3). I
tried to run the following command to clean things up. However, nothing gets
deleted. Did I do anything wrong? Thanks,

 java -cp ../lib/zookeeper-3.3.3.jar:../lib/log4j-1.2.15.jar:conf
org.apache.zookeeper.server.PurgeTxnLog /export/content/zookeeper/i002/data
/export/content/zookeeper/i002/data/version-2 -n 6

Jun
+
Jun Rao 2011-04-26, 00:43
+
Mahadev Konar 2011-04-26, 00:45
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB