![]() ![]() Set the following properties in zookeeper. ![]() autopurge.purgeInterval120 To set these properties to different values: Edit /opt/apigee/customer/application/zookeeper.properties to set the following properties. When enabled, ZooKeeper auto-purge feature retains the autopurge. Set to '0' to disable auto purge feature. CREATE TABLE purchases ( country STRING, product STRING ) WITH ( connector kafka, topic purchases, kafka:29092, value. 16:13:41,372 - INFO - Purge task is not scheduled. Solved: ZooKeeper server creates snapshot and log files. 16:13:41,372 - INFO - autopurge.purgeInterval set to 0 16:13:41,371 - INFO - autopurge.snapRetainCount set to 3 16:13:41,363 - INFO - Defaulting to majority quorums autopurge. 16:13:36,321 - INFO - Reading configuration from: /usr/bin/./etc/zookeeper/zoo.cfg 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. 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. Using config: /usr/bin/./etc/zookeeper/zoo.cfg ZooKeeper remote JMX authenticate set to false Wrote JVM configuration to /opt/zookeeper/conf/java.env Wrote log4j configuration to /opt/zookeeper/conf/log4j.propertiesĬreating ZooKeeper data directories and setting permissionsĬreated ZooKeeper data directories and set permissions in /var/lib/zookeeper/data htmlscmaintenance The number of snapshots to retain in dataDir autopurge.snapRetainCount3 Purge task interval in hours Set to '0' to disable auto purge feature autopurge.purgeInterval1 Metrics Providers https. Wrote ZooKeeper configuration file to /opt/zookeeper/conf/zoo.cfg Set to a positive integer (1 and above) to enable the auto purging. Even after setting the ZK_PURGE_INTERVAL environment variable, the auto purge task to remove older snapshots and logs is not getting started leading to out of disk errors. The time interval in hours for which the purge task has to be triggered.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |