![]() Java is a registered trademark of Oracle and/or its affiliates. For details, see the Google Developers Site Policies. If that file does not exist, create it.Ĭonf_log4j_=10MBĬonf_log4j_=50 # max open filesĮxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. Edit /opt/apigee/customer/application/zookeeper.properties to set theįollowing properties.To set the maximum file size and file count. ZooKeeper logs or that the logs are very large you can modify ZooKeeper's log4j properties Normally, logįile maintenance should not be required, but if you find that there are an excessive number of opt/apigee/apigee-service/bin/apigee-service apigee-zookeeper restartĪpache Zookeeper log files are kept in /opt/apigee/var/log/apache-zookeeper. 0: When enabled, ZooKeeper auto purge feature retains the autopurge.snapRetainCount most recent snapshots and the corresponding transaction logs in the dataDir. Restart ZooKeeper by using the command:.Make sure the file is owned by the "apigee" user:Ĭhown apigee:apigee /opt/apigee/customer/application/zookeeper.properties.Set the following properties in zookeeper.properties:.Edit /opt/apigee/customer/application/zookeeper.properties.To set these properties to different values: # Set to "0" to disable auto purge feature. opt/apigee/apigee-zookeeper/conf/zoo.cfg control this process: # The number of snapshots to retain in dataDir: ZooKeeper office-prod-bigdata-00office-prod-bigdata-01office-prod-bigdata-02. Which accumulate as updates to the system are made. Removing old snapshot filesĪpache ZooKeeper automatically performs periodic maintenance to remove old snapshot files The time interval in hours for which the purge task has to be triggered. Type: int Default: 3 Importance: high autopurge.purgeInterval. Details on the four-letter commands can be found in theĪpache ZooKeeper commands reference. 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. Nc, telnet or another utility that has the ability to send commands to a ![]() Edge for Private Cloud v4.19.01 Four-letter commandsĪpache ZooKeeper has a number of "four-letter commands" that can be helpful in determining theĬurrent status of ZooKeeper voter and observer nodes.
0 Comments
Leave a Reply. |