定时清除Zookeeper日志【转】
摘要:
命令格式:java -cp zookeeper.jar:log4j.jar:conf org.apache.zookeeper.server.PurgeTxnLog <dataDir> <snapDir> -n <count> 举例:java -cp zookeeper.jar:log4j.jar:conf org.apache.zookeeper.server.PurgeTxnLog /log/xres/zookeeper/zk_trlog /www/xres/app/zk_data -n 10 定时清除zookeeper日志和快照数据非常简单,只需简单3 阅读全文
posted @ 2012-05-31 18:09 nwf 阅读(1188) 评论(0) 推荐(0) 编辑