![]() Set below 2 parameters in zoo.cfg and restart zookeeper. Removing file: 10:27:48 AM version-2]# ls -altr Removing file: 3:31:37 PM /opt/mapr/zkdata/version-2/snapshot.0 Log4j:WARN Please initialize the log4j system properly. Log4j:WARN No appenders could be found for logger (.persistence.FileTxnSnapLog). rw-r-r- 1 mapr mapr 1 Jan 11 18:38 currentEpoch rw-r-r- 1 mapr mapr 1 Jan 11 18:38 acceptedEpoch Here are the outputs before and after this command is manually version-2]# ls -altr Schedule a cronjob to run below command on the machines where Zookeeper is running.įor example, keep only 3 versions(3 is minimum): Hadoop Admin should be responsible for taking care of the log pruning. How to purge Zookeeper Transaction Log and Snapshots.Īs Zookeeper Administrator's Guide mentions:Ī ZooKeeper server will not remove old snapshots and log files when using the default configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |