безопасно для работы зукипера удалить?
drwxrwsr-x 5 root zookeeper 4096 Dec 10 2019 .
drwxr-xr-x 1 root root 4096 Oct 27 2017 ..
drwxrwsr-x 4 zookeeper zookeeper 4096 May 19 21:26 data
drwxrwsr-x 3 zookeeper zookeeper 4096 Dec 10 2019 log
drwxrws--- 2 root zookeeper 16384 Dec 10 2019 lost+found
Можно ли настроить ротацию логов через конфиг зукипера как- то?
2. Auto Way Set below 2 parameters in zoo.cfg and restart zookeeper. autopurge.snapRetainCount New in 3.4.0: When enabled, ZooKeeper auto purge feature retains the autopurge.snapRetainCount most recent snapshots and the corresponding transaction logs in the dataDir and dataLogDir respectively and deletes the rest. Defaults to 3. Minimum value is 3. autopurge.purgeInterval New in 3.4.0: The time interval in hours for which the purge task has to be triggered. Set to a positive integer (1 and above) to enable the auto purging. Defaults to 0. помоему как раз про это
See autopurge.snapRetainCount and autopurge.purgeInterval
Обсуждают сегодня